public List <GameObject> GetAllInReady(string name) { if (string.IsNullOrEmpty(name)) { return(null); } GenericPool <T> pool = Find(name); if (pool != null) { return(pool.GetAllInReady()); } return(null); }