private Console() { this.fpsCounter = new FPSCounter(this); this.memoryDetector = new MemoryDetector(this); // this.showGUI = App.Instance().showLogOnGUI; App.Instance().onUpdate += Update; App.Instance().onGUI += OnGUI; }
private Console() { this.fpsCounter = new FPSCounter(this); this.memoryDetector = new MemoryDetector(this); this.showGUI = Setting.GetBool("ShowLogOnGUI", false); Game.Instance().onUpdate += Update; Game.Instance().onGUI += OnGUI; }
protected Console() { this.fpsCounter = new FPSCounter(); this.memoryDetector = new MemoryDetector(); App.Instance.onUpdate += Update; App.Instance.onGUI += OnGUI; }
private ConsoleDisplay() { this.fpsCounter = new FPSCounter(this); this.memoryDetector = new MemoryDetector(this); //this.showGUI = App.Instance().showLogOnGUI; ShowConsole.Instance().onUpdate += Update; ShowConsole.Instance().onGUI += 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; }