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