public void RemoveScene(Scene s, bool dispose=false) { s.Removed = true; s.NeedsDisposing = dispose; s.Focused = false; s.ExitFocus(); _scenesToRemove.Add(s); }
public void AddScene(Scene s, Scene parent) { s.SceneManager = this; s.ParentScene = parent; _scenesToAdd.Add(s); }