Show / Hide Table of Contents

Class ButtonRotateInput

Sends a Vector2 input to all subscribers, based on a set of four customizable Buttons using ButtonEventTrigger, every frame that the button is held down.

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
VectorInput
RotateInput
ButtonRotateInput
Inherited Members
VectorInput.OnVectorInput
VectorInput.AddInputListener(UnityAction<Vector2>)
VectorInput.RemoveInputListener(UnityAction<Vector2>)
Namespace: Goehler.IO.OrbitalCam
Assembly: Assembly-CSharp.dll
Syntax
[AddComponentMenu("Goehler Studios/Orbital Cam/Input - Buttons, Rotate")]
public class ButtonRotateInput : 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.

In this article
Back to top © 2023-2025 Goehler Studios