Ejemplo n.º 1
0
 public static void PreAlloc <T>(int count) where T : Component
 => PerComponentPool <T> .PreAlloc(count);
Ejemplo n.º 2
0
 public static T Get <T>() where T : Component
 => PerComponentPool <T> .Get();
Ejemplo n.º 3
0
 public static void Release <T>(T component) where T : Component
 => PerComponentPool <T> .Release(component);
Ejemplo n.º 4
0
 public static T Get <T>(string name) where T : Component
 => PerComponentPool <T> .Get(name);