public static SceneMachine GetSingleton() { if (m_Instance == null) { m_Instance = new SceneMachine(); } return(m_Instance); }
public static GameScene GetCurrentScene() { return(SceneMachine.GetSingleton().GetCurrentState() as GameScene); }
public static GameScene GetLastScene() { return(SceneMachine.GetSingleton().m_LastState as GameScene); }