示例#1
0
 public static void DestroyPooled <T>(this T prefab) where T : Component
 {
     SpacePool.DestroyPooled(prefab.gameObject);
 }
示例#2
0
 public static void DestroyPooled(this GameObject prefab)
 {
     SpacePool.DestroyPooled(prefab);
 }