Can we save while the runtime-editor?

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19877
    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?

      #19879
      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);

        #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]

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