FrameTimer Class

public class FrameTimer : MonoBehaviour

A script which monitors the current frame time. You can query this classes FrameTimeInMilliseconds property to get a value which indicates how much time has elapsed in the Current frame. This can be useful for running heavy operations only when the frame time is under a certain threshold.

Properties

Name Type Description
FrameTimeInMilliseconds propType

The amount of time, in milliseconds, that the current frame has taken.