public void Dispose() { TypeEventSystem.UnRegister <IEditorStrangeMVCCommand>(OnCommandExecute); Container.Clear(); Container = null; }
public static void Clear() { mContainer.Clear(); Game2UIEventSystem.Clear(); GameEventSystem.Clear(); mObjects.Clear(); }
public void Dispose() { OnDispose(); mTypeEventSystem.UnRegisterEvent <TCommand>(OnCommandExecute); mTypeEventSystem.Clear(); Container.Clear(); Container = null; }