Esempio n. 1
0
        private CEditorApp()
        {
            m_lastUpdateTime = EditorApplication.timeSinceStartup;

            CTimerManager.ScheduleTimer(() =>
            {
                CThreadUtils.InitOnMainThread(); // we need to make sure this call is done on the main thread
                CLog.Initialize();               // it's safe to initialize logging

                CEditorSceneKeyHandler.keyDownHandler += SceneKeyDownHandler;
                CEditorSceneKeyHandler.keyUpHandler   += SceneUpDownHandler;
            });
        }