Пример #1
0
 internal void localAwake()
 {
     if ((bool)Instance)
     {
         Destroy(this);
         return;
     }
     Instance = this;
 }
Пример #2
0
 private void OnDestroy()
 {
     Instance = null;
 }