Exemplo n.º 1
0
 public static void DestroyAll <T>(this T prefab) where T : Component
 {
     SpacePool.DestroyAll(prefab.gameObject);
 }
Exemplo n.º 2
0
 public static void DestroyAll(this GameObject prefab)
 {
     SpacePool.DestroyAll(prefab);
 }