Hi,
I use a sample code:
void OnGUI ()
{
text = GUI.TextArea (new Rect (25, 25, 100, 30), text);
}
with
text = point.ToString();
when “point” changes, the view of precedings values of “text” are visible under the current view of “text”
Why ?
How change this ?
thanks by advance,
regards.
When do you set text= point.ToString();?
I make “text = point.ToString();” in OnCollision
text and point are class variables.
to explain better what happens, I can say that all the texts are written in overlay…
ok everybody… I am completely sorry It’s my fault
I use the same script, with my textarea in “OnGUI”, on more than one active objects…
that’s why for the overlay…
thanks to “Patricia” for the help