/// <summary> /// Called by framework. Do not call directly. /// </summary> public static void Shutdown(InterDomainHandler handler) { if (!_isInitialized) { return; } _isInitialized = false; EntityFramework.Destroy(handler); GameFramework.Destroy(); SceneManager.Destroy(); LevelSystem.Destroy(); CryEngine.Mouse.Destroy(); Screen.Destroy(); CryEngine.Input.Destroy(); SystemHandler.Destroy(); }