Пример #1
0
 private void OnDestory()
 {
     if (AllowDebugging)
     {
         Application.logMessageReceived -= LogHandler;
     }
     _instance = null;
 }
Пример #2
0
 void Awake()
 {
     _instance = this;
 }