Slate Forums › Support › Can we save while the runtime-editor?
I’ve edited slate at runtime and lost all operations when I quit playing. Can I save at runtime by calling some function?
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);
I got it. The cutscene saves as a prefab, so just use the prefab save function when running unityeditor.
jameschen wrote: `PrefabUtility.SaveAsPrefabAssetAndConnect(cutscene.gameObject, path, InteractionMode.AutomatedAction);
`PrefabUtility.SaveAsPrefabAssetAndConnect(cutscene.gameObject, path, InteractionMode.AutomatedAction);
Username
Password
Remember Me
By registering on this website you agree to our Privacy Policy.
Email
Username or Email