public static ActionPool GetInstance() { if (instance_ == null) { instance_ = new ActionPool(); } return(instance_); }
public static T Prepare <T> () where T : ActionBase, new() { return(ActionPool.GetInstance().GetAction <T>()); }
public static void Preallocate <T> (int count = 50) where T : ActionBase, new() { ActionPool.GetInstance().Preallocate <T>(count); }