Class KeyRotateInput
Sends a Vector2 input to all subscribers, based on a set of four customizable keyboard keys, every frame that the key is held down.
Inherited Members
Namespace: Goehler.IO.OrbitalCam
Assembly: Assembly-CSharp.dll
Syntax
[AddComponentMenu("Goehler Studios/Orbital Cam/Input - Keys, Rotate")]
public class KeyRotateInput : RotateInput
Remarks
Derives from VectorInput. The OrbitalCameraSystem collects all instances of this component, on all child objects, and then uses the AddInputListener and RemoveInputListener to subscribe to the internal OnVectorInput event.
Methods
GetInput()
Declaration
public Vector2 GetInput()
Returns
| Type | Description |
|---|---|
| Vector2 |