public void OnEnable()
    {
        EditorApplication.playModeStateChanged += OnPlayStateChanged;
        if (NodeSelector == null)
        {
            NodeSelector = new NodeSelectorPanel(/*, scriptDataService.GetAllCustomNodesNames()*/);
            NodeSelector.SetupNamespaceData();
        }

        if (ScriptDataService == null)
        {
            ScriptDataService = new ConstellationEditorDataService();
            ScriptDataService.Initialize();
        }

        if (NodeTabPanel == null)
        {
            NodeTabPanel = new ConstellationsTabPanel();
        }
    }
Ejemplo n.º 2
0
 void SetupNodeSelector()
 {
     NodeSelector = new NodeSelectorPanel(ScriptDataService.GetEditorData().ScriptAssembly.GetAllStaticScriptData());
     NodeSelector.SetupNamespaceData((ScriptDataService.GetEditorData().ScriptAssembly.GetAllStaticScriptData()));
 }