コード例 #1
0
        static void Init()
        {
            var instanceIndex         = GameDesignerWindowManager.GetGameDesignerEditorInstance();
            GameDesignerEditor window = GameDesignerWindowManager.gameDesignerEditors[instanceIndex];

            window.InitEditorData(instanceIndex);
            window.ChoiceTree.Init(() => { window.Repaint(); });
            window.Show();
        }
コード例 #2
0
        public static GameDesignerEditor InitWithSelectedKey(Type designerModuleType)
        {
            var instanceIndex         = GameDesignerWindowManager.GetGameDesignerEditorInstance();
            GameDesignerEditor window = GameDesignerWindowManager.gameDesignerEditors[instanceIndex];

            window.InitEditorData(instanceIndex);
            window.ChoiceTree.Init(() => { window.Repaint(); });
            window.ChoiceTree.SetSelectedKey(designerModuleType);
            window.Show();
            return(window);
        }