public ISprite CreateSprite(string strSpriteName, CreateSpriteEvent callBack, object custumParam = null, TaskPriority ePriority = TaskPriority.TaskPriority_Normal) { UISprite sprite = new UISprite(); sprite.CrateSprite(ref strSpriteName, callBack, custumParam, ePriority); return(sprite); }
public void CrateSprite(ref string strFontName, CreateSpriteEvent callBack, object custumParam = null, TaskPriority ePriority = TaskPriority.TaskPriority_Normal) { m_callback = callBack; m_res = ResourceManager.Instance().GetAssetBundle(ref strFontName, LoadFinishDelegate, custumParam, ePriority); }