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