Question by
oussamahassini6 · Mar 24, 2018 at 09:32 AM ·
uipositiontextif-statementsvector2
How to set the position of these Texts ??
when I launch the game the position of the plus and the mony amount is set in a (random) place . if(PlayerPrefs.GetInt("Money", 0) >= 10 && PlayerPrefs.GetInt("Money", 0) <100 ) { plus.rectTransform.position = Pos[0]; MoneyToAdd.rectTransform.position = PosMoney[0]; } if (PlayerPrefs.GetInt("Money", 0) >= 100 && PlayerPrefs.GetInt("Money", 0) < 1000) { plus.rectTransform.position = Pos[1]; MoneyToAdd.rectTransform.position = PosMoney[1]; }
Comment