Esempio n. 1
0
 public static void DestroyPooled <T>(this T prefab) where T : Component
 {
     GenericObjectPool.DestroyPooled(prefab.gameObject);
 }
Esempio n. 2
0
 public static void DestroyPooled(this GameObject prefab)
 {
     GenericObjectPool.DestroyPooled(prefab);
 }