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