Click or drag to resize

VelocityCalculator Methods

The VelocityCalculator type exposes the following members.

Methods
  NameDescription
Protected methodFixedUpdate
Unity component method
Public methodGetAverageVelocity
We keep a history of around BufferSize number of frames for the velocity. This method returns the average velocity between of all the frames up to the specified frame.
Public methodGetVelocityAt
We keep a history of around BufferSize number of frames for the velocity. This method returns the velocity at the particular frame.
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also