Exemple #1
0
 public static void Register <A, B, C, D>(this GraphicScriptEditor editor, Color b)
 {
     EditorColors.Register <A>(b);
     EditorColors.Register <B>(b);
     EditorColors.Register <C>(b);
     EditorColors.Register <D>(b);
 }
Exemple #2
0
 public static void Register(this GraphicScriptEditor editor, Color b, Type t, params Type[] types)
 {
     EditorColors.Register(b, t);
     if (types != null)
     {
         foreach (var tp in types)
         {
             EditorColors.Register(b, tp);
         }
     }
 }