- Home /
Input Parentheses In 3d Text HELP
Hello everyone.. I'm asking how do I input parentheses like " + , - , * , / ", addition, subtraction, multiplication and division respectively into a 3d Text?
I have the idea of 2 random numbers from 0 to 9 one of each add, subtract, divide or multiply together. But I dont have the slightest idea on how to display it to the 3d Text.
for example : A "+" B "=" C
A and B will display random numbers from 0 to 9, and C is the total of A and B.
I dont know how to get the symbols to display.
Thank you for your time reading, it is appreciated.
Answer by Graham-Dunnett · Mar 05, 2013 at 11:06 AM
Parentheses means the open and closing round brackets that you get in expressions. So, x=2*(y+7)
has x+7
inside parentheses.
I think your problem is how to include operators into your text. Try:
GetComponent(TextMesh).text = "A + B = C * D / E";
That should display everything you need.
thanks for the light...
it gave me another idea of method i might try to use..
Your answer
Follow this Question
Related Questions
Change color of 3D text or font 6 Answers
How to draw 3D text from code 4 Answers
SendMessage on GUI Text 1 Answer
Changing 3D text through script 1 Answer
3d Text Question 2 Answers