Пример #1
0
 public static void Recycle(this GameObject obj)
 {
     GenericObjectPool.Recycle(obj);
 }
Пример #2
0
 public static void Recycle <T>(this T obj) where T : Component
 {
     GenericObjectPool.Recycle(obj);
 }