public static int CountSpawned(this GameObject prefab) { return(GenericObjectPool.CountSpawned(prefab)); }
public static int CountSpawned <T>(this T prefab) where T : Component { return(GenericObjectPool.CountSpawned(prefab)); }