Пример #1
0
 void OnDestroy()
 {
     RuntimeConsole.Unregister(this);
     if (instance == this)
     {
         instance = null;
     }
 }
Пример #2
0
 void OnDestroy()
 {
     RuntimeConsole.Unregister(this);
 }