文本显示和Command大修
This commit is contained in:
@@ -18,8 +18,8 @@ namespace Continentis.MainGame.UI
|
||||
|
||||
public void SetInfoText(CharacterBase character)
|
||||
{
|
||||
int currentValue = character.attributeSubmodule.GetRoundCurrentGeneralAttribute(currentAttributeName);
|
||||
int maximumValue = character.attributeSubmodule.GetRoundCurrentGeneralAttribute(maximumAttributeName);
|
||||
int currentValue = character.attributeSubmodule.GetGeneralAttribute(currentAttributeName);
|
||||
int maximumValue = character.attributeSubmodule.GetGeneralAttribute(maximumAttributeName);
|
||||
string displayText = currentValue + "/" + maximumValue;
|
||||
resourceText.text = displayText;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user