x


how do you show stats in webplayer?

Is it possible to show the editor stats in the webplayer? I would like to show the framerate in the webplayer somehow. If not what's the easiest way to set this up?

Thanks,

more ▼

asked Feb 03 '12 at 04:50 PM

dansav gravatar image

dansav
373 104 133 154

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

You can access the framerate by code : Mathf.RoundToInt(1f / Time.deltaTime). Then you just need to display that with GUI.Label / GUIText / whatever.

more ▼

answered Feb 03 '12 at 04:55 PM

Berenger gravatar image

Berenger
11k 12 19 53

Thanks that works.

Feb 04 '12 at 01:39 AM dansav
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x815
x27
x23

asked: Feb 03 '12 at 04:50 PM

Seen: 687 times

Last Updated: Feb 04 '12 at 01:39 AM