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