Added german language, finished controller
This commit is contained in:
@@ -62,7 +62,7 @@ namespace Assets.Scripts
|
||||
image.GetComponent<RawImage>().texture = skillIcon;
|
||||
if (canPlayerCast(playerSecondary))
|
||||
{
|
||||
desc.GetComponent<Text>().text = skillname + "(" + secondaryConsumption + ")";
|
||||
desc.GetComponent<Text>().text = TextHandler.getText(skillname) + "(" + secondaryConsumption + ")";
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -73,7 +73,7 @@ namespace Assets.Scripts
|
||||
public void displaySkill(GameObject image, GameObject desc)
|
||||
{
|
||||
image.GetComponent<RawImage>().texture = skillIcon;
|
||||
desc.GetComponent<Text>().text = skillname + "(Mana: " + secondaryConsumption + "): \r\n" + description;
|
||||
desc.GetComponent<Text>().text = TextHandler.getText(skillname) + "(Mana: " + secondaryConsumption + "): \r\n" + TextHandler.getText(skillname+"Desc");
|
||||
}
|
||||
|
||||
public void reduceCooldown()
|
||||
|
||||
Reference in New Issue
Block a user