コード例 #1
0
        public ActionEditorNodeGroup(CGME.Action act) : base(act)
        {
            dictionary = CGME.ActionDictionary.GetInstance();

            action_names = dictionary.GetNames();

            add_action_popup = ActionEditorPopupWindow.GetInstance();
        }
コード例 #2
0
        public static ActionEditorPopupWindow GetInstance()
        {
            if (instance == null)
            {
                instance = new ActionEditorPopupWindow();
            }

            return(instance);
        }
コード例 #3
0
 //[MenuItem("CGM/Action Editor")]
 public static void Init(CGME.Action act)
 {
     window_instance = (WindowActionEditor )EditorWindow.GetWindow(typeof(WindowActionEditor));
     window_instance.wantsMouseMove = true;
     //window.title = GetWindowTitle();
     //window_instance.selected_action = window_instance.GetSelectedAction();
     window_instance.root_action = act;
     window_instance.name        = act.CGType;
     ActionEditorNode.SetStyles();
     ActionEditorPopupWindow.SetStyle();
     window_instance.CreateNodes();
 }