Click or drag to resize

Clock Methods

The Clock type exposes the following members.

Methods
  NameDescription
Public methodAddTime
Adds time to this clock. This will extend the time the clock expires by the given amount.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodPause
Pauses this clock.
Public methodReset
Resets the clock to the specified stat time.
Public methodToString (Inherited from Object.)
Public methodUnpause
Unpauses this clock.
Public methodUpdate
Call this method repeatedly to update the time (typically, in a component's Update method).
Top
Extension Methods
  NameDescription
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Top
See Also