UI and mechanics update, v1.1.0
This commit is contained in:
@@ -62,18 +62,18 @@ namespace Assets.Scripts
|
||||
image.GetComponent<RawImage>().texture = skillIcon;
|
||||
if (canPlayerCast(playerSecondary))
|
||||
{
|
||||
desc.GetComponent<Text>().text = skillname + "(Lvl." + level + ") (" + secondaryConsumption + ")";
|
||||
desc.GetComponent<Text>().text = skillname + "(" + secondaryConsumption + ")";
|
||||
}
|
||||
else
|
||||
{
|
||||
desc.GetComponent<Text>().text = "Not castable (" + secondaryConsumption + ")";
|
||||
desc.GetComponent<Text>().text = "(" + secondaryConsumption + " mana) " + "("+cooldown+" cd)";
|
||||
}
|
||||
}
|
||||
|
||||
public void displaySkill(GameObject image, GameObject desc)
|
||||
{
|
||||
image.GetComponent<RawImage>().texture = skillIcon;
|
||||
desc.GetComponent<Text>().text = skillname + "(Lvl." + level + "): \r\n" + description;
|
||||
desc.GetComponent<Text>().text = skillname + "(Mana: " + secondaryConsumption + "): \r\n" + description;
|
||||
}
|
||||
|
||||
public void reduceCooldown()
|
||||
|
||||
Reference in New Issue
Block a user