Reply To: Can we save while the runtime-editor?

Forums › 💬 Slate Sequencer › ⚙️ Support › Can we save while the runtime-editor? › Reply To: Can we save while the runtime-editor?

#19878
jameschen
Participant

    I got it.
    The cutscene saves as a prefab, so just use the prefab save function when running unityeditor.
    [quote quote=2666]
    `PrefabUtility.SaveAsPrefabAssetAndConnect(cutscene.gameObject, path, InteractionMode.AutomatedAction);
    [/quote]