Added german language, finished controller

This commit is contained in:
TAASONI3
2023-07-05 14:43:52 +02:00
parent 7aba856b17
commit 0dc2ff831f
127 changed files with 15311 additions and 356 deletions

View File

@@ -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()