9 public void SetLog(
NumLog log)
11 this.textTitle.text = log.Name;
12 this.textCurrent.text = (log.Value.ToString() ??
"");
13 this.textLastDay.text = (log.lastDay.ToString() ??
"");
14 this.textLastMonth.text = (log.lastMonth.ToString() ??
"");
15 this.textLastYear.text = (log.lastYear.ToString() ??
"");
18 UIItem mold = this.layout.CreateMold(
null);
19 List<
Gross.
Mod> mods = log.gross.GetMods();
20 Action<string> action = delegate(
string a)
22 Util.Instantiate<UIItem>(mold, this.layout).text1.text = a;
26 action(Lang.Get(
"noMod"));
37 public UIText textTitle;
40 public UIText textCurrent;
43 public UIText textLastDay;
46 public UIText textLastMonth;
49 public UIText textLastYear;
52 public LayoutGroup layout;