예제 #1
0
 private void OnDestory()
 {
     if (AllowDebugging)
     {
         Application.logMessageReceived -= LogHandler;
     }
     _instance = null;
 }
예제 #2
0
 void Awake()
 {
     _instance = this;
 }