Exemple #1
0
 protected override void OnDestroy()
 {
     Instance = null;
     base.OnDestroy();
 }
Exemple #2
0
 private void Awake()
 {
     Instance = this;
 }