public static void DestroyPooled <T>(this T prefab) where T : Component { ObjectPool.DestroyPooled(prefab.gameObject); }
public static void DestroyPooled(this GameObject prefab) { ObjectPool.DestroyPooled(prefab); }