Beispiel #1
0
    public GameObject Use(string name)
    {
        if (string.IsNullOrEmpty(name))
        {
            return(null);
        }

        GenericPool <T> pool = Find(name);

        if (pool != null)
        {
            return(pool.Use());
        }

        return(null);
    }