Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public XCodeCustomAttribute()
 {
     parameter = null;
 }
Exemplo n.º 3
0
 public void ParameterCreate(XCodeParameter parameter)
 {
     XParameterEditor.Init <XParameterEditor>(parameter);
 }
Exemplo n.º 4
0
 public void OnInitialization(XCodeParameter target)
 {
     this.target = target;
 }