示例#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);