Beispiel #1
0
    public IEnumerator GetAsset <T>(Action <T> act) where T : class
    {
        if (request == null)
        {
            request = this.LoadBundle <T>();
        }
        if (request != null)
        {
            yield return((object)request);

            if (!request.IsEmpty())
            {
                NullCheck.Call <T>(act, request.GetAsset <T>());
            }
        }
    }