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

            UpdateSystemGraph();

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