void OnDestroy() { Application.logMessageReceived -= _logInfo.OnLogMessageReceived; _fpsInfo = null; _sysInfo = null; _selectInfo = null; _profilerInfo = null; _logInfo = null; }
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); }