Пример #1
0
 public static void ForEachOfType(GUCVobTypes type, Action <BaseVobDef> action)
 {
     BaseVobInstance.ForEachOfType(type, v => action((BaseVobDef)v.ScriptObject));
 }
Пример #2
0
 public static int GetCountDynamicsOfType(GUCVobTypes type)
 {
     return(dynInstances.GetCountOfType(type));
 }
Пример #3
0
 public static void ForEachDynamicOfType(GUCVobTypes type, Action <BaseVobInstance> action)
 {
     dynInstances.ForEachOfType(type, action);
 }
Пример #4
0
 /// <summary> Gets the count of all Instances of the given type in the static Instance collection. </summary>
 public static int GetCountOfType(GUCVobTypes type)
 {
     return(instances.GetCountOfType(type));
 }
Пример #5
0
 public int GetCountOfType(GUCVobTypes type)
 {
     return(this.typeDict[(int)type].Count);
 }
Пример #6
0
 public void ForEachOfType(GUCVobTypes type, Action <T> action)
 {
     typeDict[(int)type].ForEach(action);
 }