示例#1
0
    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;
    }
示例#2
0
    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;
    }