I don't know if this goes here. Okay so i'm dabbling in coding, and I'm trying to write an action that saves and loads the last scene that was played but at specific points. I was able to write an action for ES3 but it only saves and loads the CURRENT scene, I want to be able to load any scene. Here's the code I got from EasySave:
using System;
{
[ActionCategory("Easy Save 3")]
[Tooltip("Triggers Auto Save's Save Method.")
public class ES3AutoSaveSave : FsmStateAction
public override void OnEnter()
{
GameObject.Find("Easy Save Manager").Get component<ES3AutoSaveMgr().Save();
}
}
[ActionCategory("Easy Save 3")]
[Tooltip("Triggers Auto Save's Load Method")
public class ES3AutoSaveLoad : FsmStateAction
{
public override void OnEnter()
{
GameObject.Find("Easy Save 3 Manager").Get component<ES3AutoSaveMgr>.Load();
How would I modify this to work with scenes instead of objects. Would replacing GameObject with SceneIndex work? Or if there's a better script that would make it more efficient that would be helpful.