public void Destroy() { Debug.LogError("Destroy GameManager"); GameGUI.Destroy(); playerManager.Shutdown(); mInstance = null; DestroyImmediate(playerManager); DestroyImmediate(gameObject); }