Exemple #1
0
 void ExceptionHandler(Exception ex)
 {
     Debug.LogException(ex);
     state = new SceneExplorerState();
     UpdateObjectsList();
     TypeUtil.ClearTypeCache();
 }
 void ExceptionHandler(Exception ex)
 {
     Debug.LogException(ex);
     state      = new SceneExplorerState();
     sceneRoots = GameObjectUtil.FindSceneRoots();
     TypeUtil.ClearTypeCache();
 }
Exemple #3
0
        public SceneExplorer(string windowName)
            : base(windowName, new Rect(128, 440, 800, 500), skin)
        {
            onDraw      = DrawWindow;
            onException = ExceptionHandler;
            onUnityGUI  = GUIComboBox.DrawGUI;

            headerArea    = new GUIArea(this);
            sceneTreeArea = new GUIArea(this);
            componentArea = new GUIArea(this);
            state         = new SceneExplorerState();

            RecalculateAreas();
        }