public void SetFunctionType(ShopItemFunction functionType, int amount) { this.functionType = functionType; this.amount = amount; this.UpdateUIS(); }
public void ShowFunction(ShopItemFunction functionType) { string str = string.Format(Localization.Localize("ShopFunctionNotEnoughContent"), Localization.Localize("ShipFunctionName" + ((int) functionType))); this.contentTM.text = str; this.contentTM.Commit(); }