コード例 #1
0
 void OnDestroy()
 {
     Application.logMessageReceived -= _logInfo.OnLogMessageReceived;
     _fpsInfo      = null;
     _sysInfo      = null;
     _selectInfo   = null;
     _profilerInfo = null;
     _logInfo      = null;
 }
コード例 #2
0
 void Awake()
 {
     Instance      = this;
     _fpsInfo      = new DevelopDebugFps();
     _sysInfo      = new DevelopDebugSystem();
     _selectInfo   = new DevelopDebugSelect();
     _profilerInfo = new DevelopDebugProfiler();
     _logInfo      = new DevelopDebugLog();
     isInit        = true;
     _fpsInfo.Init();
     Application.logMessageReceived += _logInfo.OnLogMessageReceived;
     SetShowType(ShowType.ShowNon);
 }