Controlsfactory

ControlsFactory class

Use this to create controls for your game, Currently supports the following types:

Signature:

export declare class ControlsFactory 

Methods

MethodModifiersDescription
get(opts)Factory method to create control. The controls returned depend on the type of controls you want to create. Currently supports the following types: "platformer", "thirdperson", "firstperson", "debugorbit", "fly".