Пример #1
0
 public static Texture2D LoadTexture(SlotitemModel_Battle model)
 {
     if (model == null)
     {
         return(null);
     }
     return(SingletonMonoBehaviour <ResourceManager> .Instance.SlotItemTexture.Load(model.GetGraphicId(), 4));
 }
Пример #2
0
 public static Texture2D LoadUniDirGlowTexture(SlotitemModel_Battle model)
 {
     return(LoadTexture(model.GetGraphicId(), 7));
 }
Пример #3
0
 public static Texture2D LoadUniDirTexture(SlotitemModel_Battle model)
 {
     return(SlotItemUtils.LoadTexture(model.GetGraphicId(), 6));
 }