示例#1
0
 public void ConvertCurrency()
 {
     if (this.gameObject.name == "TextViewTarget" && app.view.TextViewBase.TextHolder.text != "")
     {
         CountryModel Base = app.view.TextViewBase.CountryModel;
         CountryController.ConvertCurrency(Base.CurMoney, Base.CurrencyMultiplier);
         CountryModel.CurMoney = (float)Math.Round(CountryModel.CurMoney, 2);
         TextHolder.text       = CountryModel.CurMoney.ToString();
     }
 }