Assets.LinearDirections

Description: Defines a direction management object that represents directional state.

Constructors

LinearDirections ()
Creates a new instance of the LinearDirection object with all directions= indicators initially set to false.

Fields

Left: boolean
Indicates whether the object is moving left.

Right: boolean
Indicates whether the object is moving right.

Up: boolean
Indicates whether the object is moving up.

Down: boolean
Indicates whether the object is moving down.

Examples

There's currently no example available for this page. If you'd like to suggest one send me an containing a description, code, and link to the page for the suggested example. As a thanks I'll associate the code snippet with your name directly below the example if approved.