Beispiel #1
0
    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);
    }