Can we save while the runtime-editor?

Slate Forums Support Can we save while the runtime-editor?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2665
    jameschen
    Participant

    I’ve edited slate at runtime and lost all operations when I quit playing. Can I save at runtime by calling some function?

    #2666
    jameschen
    Participant

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

    #2667
    jameschen
    Participant

    I got it.
    The cutscene saves as a prefab, so just use the prefab save function when running unityeditor.

    `PrefabUtility.SaveAsPrefabAssetAndConnect(cutscene.gameObject, path, InteractionMode.AutomatedAction);

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.