private void OnApplicationQuit() { instance = null; Close(); }
private void OnDestroy() { instance = null; Close(); }