Added german language, finished controller
This commit is contained in:
@@ -61,7 +61,7 @@ namespace Assets.Scripts
|
||||
{
|
||||
tiletype = "Spawn";
|
||||
}
|
||||
coordinates.GetComponent<Text>().text = tiletype + "(" + (int)position.x + "/" + (int)position.y + "/" + (int)position.z + ")";
|
||||
coordinates.GetComponent<Text>().text = TextHandler.getText(tiletype) + "(" + (int)position.x + "/" + (int)position.y + "/" + (int)position.z + ")";
|
||||
}
|
||||
|
||||
private void switchWaterLayer()
|
||||
@@ -421,7 +421,7 @@ namespace Assets.Scripts
|
||||
GameObject.Find("txtStrength").GetComponent<Text>().text = "STR: " + playerStats[4] + " (+" + equipment["STR"] + ")";
|
||||
GameObject.Find("txtDexterity").GetComponent<Text>().text = "DEX: " + playerStats[5] + " (+" + equipment["DEX"] + ")";
|
||||
GameObject.Find("txtIntelligence").GetComponent<Text>().text = "INT: " + playerStats[6] + " (+" + equipment["INT"] + ")";
|
||||
GameObject.Find("txtHealth").GetComponent<Text>().text = "Health: " + playerStats[1] + " (+" + equipment["HP"] + ")";
|
||||
GameObject.Find("txtHealth").GetComponent<Text>().text = TextHandler.getText("health") + " " + playerStats[1] + " (+" + equipment["HP"] + ")";
|
||||
GameObject.Find("txtSecondary").GetComponent<Text>().text = "Mana: " + playerStats[3] + " (+" + equipment["MP"] + ")";
|
||||
|
||||
updateHealthUI(playerStats[0], playerStats[1] + equipment["HP"]);
|
||||
@@ -442,7 +442,7 @@ namespace Assets.Scripts
|
||||
GameObject secondary = GameObject.Find("btnSecondaryIncrease");
|
||||
GameObject txtPoints = GameObject.Find("txtPoints");
|
||||
|
||||
txtPoints.GetComponent<Text>().text = "Your available points: " + points;
|
||||
txtPoints.GetComponent<Text>().text = TextHandler.getText("points") + " " + points;
|
||||
|
||||
if (points > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user