private void Awake() { if (_Instance == null) { _Instance = this; DontDestroyOnLoad(gameObject); } }
private void OnDestroy() { _Instance = null; _applicationIsQuitting = true; }