private void Awake() { if (Instance != null) { Destroy(gameObject); } Instance = this; }
private void OnDestroy() { Instance = null; }