示例#1
0
 public override void AddQuip(Talant talant)
 {
     text.text      = talant.Name;
     _talant        = talant;
     UiIcon.enabled = true;
     UiIcon.sprite  = talant.Icon;
 }
示例#2
0
 public override void Remove()
 {
     if (_talant)
     {
         text.text      = null;
         UiIcon.sprite  = null;
         UiIcon.enabled = false;
         talantManager.RemoveTalant(_talant);
         _talant = null;
     }
 }
示例#3
0
文件: Slot.cs 项目: gonek1/TestGame
 public virtual void AddQuip(Talant talant)
 {
 }