public void ReplaceScene(SceneBase scene) { SceneStack.Pop().Exit(); scene.Enter(); SceneStack.Push(scene); }
public void PushScene(SceneBase scene) { scene.Enter(); SceneStack.Push(scene); }