void OnEnable() { if (worldListState == null) { worldListState = new TreeViewState(); } worldListView = new WorldListView(worldListState, this); SceneView.onSceneGUIDelegate += OnSceneGUI; }
void Initialize() { if (worldListView == null) { worldListView = new WorldListView(worldListState, this); } UpdateSystemGraph(); if (playerLoopListView == null) { playerLoopListView = new PlayerLoopListView(playerLoopListState); } SetPlayerLoop(PlayerLoopHelper.currentPlayerLoop); }