Пример #1
0
 public static void PreAlloc <T>(int count) where T : Component
 => PerComponentPool <T> .PreAlloc(count);
Пример #2
0
 public static T Get <T>() where T : Component
 => PerComponentPool <T> .Get();
Пример #3
0
 public static void Release <T>(T component) where T : Component
 => PerComponentPool <T> .Release(component);
Пример #4
0
 public static T Get <T>(string name) where T : Component
 => PerComponentPool <T> .Get(name);