示例#1
0
            public static void Init()
            {
                // Setup Variables
                mbFailLoadTemplate = false;
                mbFailNewAsset     = false;
                mbNewWindow        = true;

                // Get existing window or if none, make a new one.
                DaburuTools_Action_ActionScriptTemplateWindow window =
                    (DaburuTools_Action_ActionScriptTemplateWindow)EditorWindow.GetWindowWithRect(
                        typeof(DaburuTools_Action_ActionScriptTemplateWindow),
                        new Rect(0, 0, 250, 130),
                        true,
                        "New Action Script");

                window.Show();
            }
示例#2
0
 private static void DT_Action_CreateNewActionScriptFromTemplate()
 {
     DaburuTools_Action_ActionScriptTemplateWindow.Init();
 }