示例#1
0
 public static int CountSpawned(this GameObject prefab)
 {
     return(GenericObjectPool.CountSpawned(prefab));
 }
示例#2
0
 public static int CountSpawned <T>(this T prefab) where T : Component
 {
     return(GenericObjectPool.CountSpawned(prefab));
 }