Example #1
0
        public static T Init <T>(XCodeParameter target) where T : XParameterEditor
        {
            string cmdPrefs = typeof(T).ToString() + "_isPrefix";
            bool   isPrefix = EditorPrefs.GetBool(cmdPrefs, false);
            T      window   = XParameterEditor.DisplayWizard <T>(typeof(T).Name, "Type", "Create");

            window.OnInitialization(target);
            return(window);
        }
Example #2
0
 public void ParameterCreate(XCodeParameter parameter)
 {
     XParameterEditor.Init <XParameterEditor>(parameter);
 }