public static void Init() { fpsCounter = new FPSCounter(); fpsCounter.Init(); //memoryDetector = new MemoryDetector(); //memoryDetector.Init(); ApplicationManager.m_onApplicationUpdate += Update; ApplicationManager.m_onApplicationOnGUI += OnGUI; Application.logMessageReceived += HandleLog; }
public static void Init() { fpsCounter = new FPSCounter(); fpsCounter.Init(); memoryDetector = new MemoryDetector(); memoryDetector.Init(); // this.showGUI = App.Instance().showLogOnGUI; ApplicationManager.s_OnApplicationUpdate += Update; ApplicationManager.s_OnApplicationOnGUI += OnGUI; Application.logMessageReceived += HandleLog; }
public static void Init() { fpsCounter = new FPSCounter(); fpsCounter.Init(); //memoryDetector = new MemoryDetector(); //memoryDetector.Init(); ApplicationManager.s_OnApplicationUpdate += Update; ApplicationManager.s_OnApplicationOnGUI += OnGUI; Application.logMessageReceived += HandleLog; //consoleStyle = GUI.skin.label; //consoleStyle.fontSize = 20; }