sorry for the lame… but i can’t wrap my head around java/oop… Thus… I cannot convert a simple string to float…
private var seconds : float = 0.0;
function Update ()
{
seconds = GameObject.Find(“Character1”).animation[“Whole”].time;
guiText.text = seconds;
}
Appreciate in adivce.
Thanks
Oliver 
Eric5h5
3
guiText.text = seconds.ToString(); (Should do Find once in Start and store the result in a variable rather than execute it every frame.)
–Eric
guiText.text = seconds.ToString();
Eric5h5
5
Everybody all at once, now.
Better to use ToString() and avoid string concatenation (faster, probably less memory use, makes the code more obvious).
–Eric
worked… thanks novashot…
I need to post more questions… i’m trying to figure things out over hours when i can get replies in 2 min on this forum…
thanks so much!
oliver 
J_P
7
Thanks. I knew there was probably a reason to do it the correct way 
I think simple questions like this are better suited for the IRC channel 