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