public static void ForEachOfType(GUCVobTypes type, Action <BaseVobDef> action) { BaseVobInstance.ForEachOfType(type, v => action((BaseVobDef)v.ScriptObject)); }
public static int GetCountDynamicsOfType(GUCVobTypes type) { return(dynInstances.GetCountOfType(type)); }
public static void ForEachDynamicOfType(GUCVobTypes type, Action <BaseVobInstance> action) { dynInstances.ForEachOfType(type, action); }
/// <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)); }
public int GetCountOfType(GUCVobTypes type) { return(this.typeDict[(int)type].Count); }
public void ForEachOfType(GUCVobTypes type, Action <T> action) { typeDict[(int)type].ForEach(action); }