コード例 #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);
 }