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