Пример #1
0
 public Sprite GetBg()
 {
     if (Bg != null)
     {
         return(Bg.Invoke());
     }
     if (!BgStr.IsInvStr())
     {
         return(BaseGRMgr.GetIcon(BgStr));
     }
     return(null);
 }
Пример #2
0
 public Sprite GetActiveIcon()
 {
     if (ActiveIcon != null)
     {
         return(ActiveIcon.Invoke());
     }
     if (!ActiveIconStr.IsInvStr())
     {
         return(BaseGRMgr.GetIcon(ActiveIconStr));
     }
     return(null);
 }