Show / Hide Table of Contents

Class VectorInput

Abstract class. ButtonMoveInput, KeyMoveInput, ButtonRotateInput and KeyRotateInput inherits from this class. OrbitalCameraSystem uses the AddClickListener and RemoveClickListener to subscribe to the internal OnVectorClick event.

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
VectorInput
Namespace: Goehler.IO.OrbitalCam
Assembly: Assembly-CSharp.dll
Syntax
public abstract class VectorInput : MonoBehaviour

Fields

OnVectorInput

Declaration
protected UnityEvent<Vector2> OnVectorInput
Field Value
Type Description
UnityEvent<Vector2>

Methods

AddInputListener(UnityAction<Vector2>)

Declaration
public void AddInputListener(UnityAction<Vector2> callback)
Parameters
Type Name Description
UnityAction<Vector2> callback

RemoveInputListener(UnityAction<Vector2>)

Declaration
public void RemoveInputListener(UnityAction<Vector2> callback)
Parameters
Type Name Description
UnityAction<Vector2> callback
In this article
Back to top © 2023-2025 Goehler Studios