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