- Home /
Question by
KaiserJohan · Nov 17, 2011 at 06:26 PM ·
c#objects3d text
Making a simple C# script to change 3D text
Hello,
I want to create a C# script that changes the text of a 3D text object on Start().
I dont understand how you get handles to existing objects. For example, suppose I would attach the script to the 3D text object, here's how I can imagine it would look like;
void Start() {
this.text = "asdf";
}
It dosnt work or compile obivously. How do you actually grab the object and then manipulate its attributes, like its text?
Comment
Your answer

Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Why does one script not work on multiple gameobjects? 3 Answers
Distribute terrain in zones 3 Answers
Destroy specific Objects 2 Answers
addition of vector3 1 Answer