9 public override bool Visible
13 return !this.text.IsEmpty();
19 public override bool Interactable
23 return !this.stats().source.GetDetail().IsEmpty();
29 public override Action<UITooltip> onShowTooltip
33 return delegate(UITooltip t)
35 this.stats().WriteNote(t.note,
null);
41 public override void OnClick()
48 public override Sprite Sprite
52 return this.stats().GetSprite();
57 public override void OnRefresh()
60 this.text = baseStats.GetText();
61 this.item.button.mainText.color = baseStats.GetColor(this.item.button.skinRoot.GetButton().colorProf);
65 public Func<BaseStats> stats;