Hi there!
In my game I have 12 levels that have a text that say: "Score: ".
This text must be visible in all 12 level, but when you pass the final level( the 12), this text must dissapear.
How can I do this?
Goodbye!
Hi there!
In my game I have 12 levels that have a text that say: "Score: ".
This text must be visible in all 12 level, but when you pass the final level( the 12), this text must dissapear.
How can I do this?
Goodbye!
Hie
if the text variable is called scoreText for example then you either set the text it holds to an empty string like this -
scoreText.text = ‘’
or you can make it invisible -
scoreText.isVisible = false
It would be better to make it invisible in my opinion.
shahar
Hie
if the text variable is called scoreText for example then you either set the text it holds to an empty string like this -
scoreText.text = ‘’
or you can make it invisible -
scoreText.isVisible = false
It would be better to make it invisible in my opinion.
shahar