コード例 #1
0
ファイル: NodeEditor.cs プロジェクト: mdlandis/voidheart
        private static void setupBaseFramework()
        {
            ResourceManager.SetDefaultResourcePath(editorPath + "EditorResources/");

            ConnectionTypes.FetchTypes();
            NodeTypes.FetchNodes();
            NodeCanvasManager.GetAllCanvasTypes();

            NodeEditorCallbacks.SetupReceivers();
            NodeEditorCallbacks.IssueOnEditorStartUp();

            NodeEditorInputSystem.SetupInput();

#if UNITY_EDITOR
            UnityEditor.EditorApplication.update -= Update;
            UnityEditor.EditorApplication.update += Update;
#endif

            initiatedBase = true;
        }