예제 #1
0
 public static PrefabPool CreatePool <T>(this T prefab) where T : Component
 {
     return(SpacePool.CreatePool(prefab, 0));
 }
예제 #2
0
 public static PrefabPool CreatePool(this GameObject prefab)
 {
     return(SpacePool.CreatePool(prefab, 0));
 }
예제 #3
0
 public static PrefabPool CreatePool(this GameObject prefab, int initialPoolSize)
 {
     return(SpacePool.CreatePool(prefab, initialPoolSize));
 }
예제 #4
0
 public static PrefabPool CreatePool <T>(this T prefab, int initialPoolSize) where T : Component
 {
     return(SpacePool.CreatePool(prefab, initialPoolSize));
 }