private QConsole() { this.fpsCounter = new QFPSCounter(this); this.memoryDetector = new QMemoryDetector(this); Framework.Instance.OnUpdateCallback += Update; Framework.Instance.OnGUICallback += OnGUI; Application.logMessageReceived += HandleLog; }
public QConsole() { this.fpsCounter = new QFPSCounter(this); this.memoryDetector = new QMemoryDetector(this); //GameManager.instance.onUpdate += Update; //GameManager.instance.onGUI += OnGUI; Application.logMessageReceived += HandleLog; }
private QConsole() { this.fpsCounter = new QFPSCounter(this); this.memoryDetector = new QMemoryDetector(this); // this.showGUI = App.Instance().showLogOnGUI; QApp.Instance.onUpdate += Update; QApp.Instance.onGUI += OnGUI; Application.logMessageReceived += HandleLog; }
//private QConsole() void Awake() { this.fpsCounter = new QFPSCounter(this); this.memoryDetector = new QMemoryDetector(this); // this.showGUI = App.Instance().showLogOnGUI; //QApp.Instance().onUpdate += Update; //QApp.Instance().onGUI += OnGUI; Application.logMessageReceived += HandleLog; DontDestroyOnLoad(gameObject); }
protected override void Init() { ConsoleFontGUIStyle.normal.textColor = Color.white; ConsoleFontGUIStyle.fontSize = 30; ConsoleFontGUIStyle2.normal.textColor = Color.white; ConsoleFontGUIStyle2.fontSize = 30; this.fpsCounter = new QFPSCounter(this); this.memoryDetector = new QMemoryDetector(this); QApp.Instance().onUpdate += Update; QApp.Instance().onGUI += OnGUI; Application.logMessageReceived += HandleLog; }
private void Awake() { this.fpsCounter = new QFPSCounter(this); this.memoryDetector = new QMemoryDetector(this); Application.logMessageReceived += HandleLog; }