public ITexture CrateTexture(string strTextureName, CreateTextureEvent callBack, object custumParam = null, TaskPriority ePriority = TaskPriority.TaskPriority_Normal) { UITexture tex = new UITexture(); tex.CrateTexture(ref strTextureName, callBack, custumParam, ePriority); return(tex); }
public void CrateTexture(ref string strTextureName, CreateTextureEvent callBack, object custumParam = null, TaskPriority ePriority = TaskPriority.TaskPriority_Normal) { m_callback = callBack; m_res = ResourceManager.Instance().GetTexture(ref strTextureName, LoadFinishDelegate, custumParam, ePriority); }