Exemple #1
0
 protected override void OnDestroy()
 {
     if (Ins == this)
     {
         Ins = null;
     }
 }
Exemple #2
0
 protected override void Awake()
 {
     Ins = this;
 }