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