Next: , Previous: , Up: General   [Contents][Index]


8.13 Speed Reporter

Component: SpeedReporter

This component gives you the current speed of an object. If using the legacy GUI setting, not suitable for mobile. Debug mode is slow, so on mobile we recommend using Unity’s new UI system to display the output instead.

Field of SpeedReporter: Rect guiArea

Normalized viewport rectangle describing the area the speed appears in, values between 0 and 1

Field of SpeedReporter: Rigidbody body

Reference to the optional rigidbody we are reporting on (works for other types of motion as well)

Field of SpeedReporter: bool useFixedUpdate

If false, normal update will be used instead

Default value: true

Field of SpeedReporter: Rect guiArea

Normalized viewport rectangle describing the area the speed appears in, values between 0 and 1

Field of SpeedReporter: Rigidbody body

Reference to the optional rigidbody we are reporting on (works for other types of motion as well)

Field of SpeedReporter: bool useFixedUpdate

If false, normal update will be used instead

Default value: true