private void SetLabel(int nIndex, BattleCommand iCommand) { string text = $"{nIndex + 1}.{iCommand.GetString()}"; UILabel component = base.background.GetComponent <UILabel>(); string text2 = text; base.foreground.GetComponent <UILabel>().text = text2; component.text = text2; }
private void SetLabel(int nIndex, BattleCommand iCommand) { string text = string.Format("{0}.{1}", nIndex + 1, iCommand.GetString()); UILabel arg_38_0 = base.background.GetComponent <UILabel>(); string text2 = text; base.foreground.GetComponent <UILabel>().text = text2; arg_38_0.text = text2; }