Time on screen

Hi

Just want to lnow how can i show
The time on screen. Starting from cero ( 0:00:00 )
And start to count whe the user start to play

I need the user can see on screen the time playing.

Please help,
Thanks a lot

Take a look at the docs for Time.time. :wink:

var startTime : float; //the time when the player started

function BeginGame(){ //call this when the player starts
  startTime = Time.time;
}

function GetPlayTime(){ //call this to get the amount of time the player's been playing
  return Time.time - startTime;
}

Regards,

-Lincoln Green

You can create with help of GUI

The First link is pretty close the other show’s member references

thanks my people !