public static void CloseWindow() { if (null == m_Instance) { return; } m_Instance.Close(); m_Instance = null; }