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