Example #1
0
 public static void UpdateCurrentDelegate(string TypeName)
 {
     if(!TypeDelegateLookup.ContainsKey(TypeName))
     {
         CurrentDelegate = null;
     }
     else
     {
         CurrentDelegate = TypeDelegateLookup[TypeName];
     }
     CurrentType = TypeName;
 }
Example #2
0
 public static void UpdateCurrentDelegate(string TypeName)
 {
     if (!TypeDelegateLookup.ContainsKey(TypeName))
     {
         CurrentDelegate = null;
     }
     else
     {
         CurrentDelegate = TypeDelegateLookup[TypeName];
     }
     CurrentType = TypeName;
 }
Example #3
0
 public static void AddHandler(string TypeName, HandleTypeOnInspectorGUI Handler)
 {
     TypeDelegateLookup[TypeName] = Handler;
 }
Example #4
0
 public static void AddHandler(string TypeName, HandleTypeOnInspectorGUI Handler)
 {
     TypeDelegateLookup[TypeName] = Handler;
 }