void OnEnable()
 {
     if (worldListState == null)
     {
         worldListState = new TreeViewState();
     }
     worldListView = new WorldListView(worldListState, this);
     SceneView.onSceneGUIDelegate += OnSceneGUI;
 }
Exemple #2
0
        void Initialize()
        {
            if (worldListView == null)
            {
                worldListView = new WorldListView(worldListState, this);
            }

            UpdateSystemGraph();

            if (playerLoopListView == null)
            {
                playerLoopListView = new PlayerLoopListView(playerLoopListState);
            }
            SetPlayerLoop(PlayerLoopHelper.currentPlayerLoop);
        }