simple question

Just giving unity a try.

things going great so far, until i stumbled upon this.

Ok here it goes,

just created a GUI text, lets say named “GUIText1”

now i want to change the text in C#, the question is where do i access GUIText1 to change it’s string properties?

i guess this goes for other objects (a mesh or a light for example) you create in the editor, how do you access them in code?

tried google n stuff, didnt find anything, i think i just dont know what look for.

  • i know how to write the scripts and trigger them.

Thanks a bunch

Something like this when you program for windows:

GUIText1.Text = "";

Thanks guys, figured it out.