Class FloatInput
Abstract class. ButtonZoomInput and KeyZoomInput inherits from this class. OrbitalCameraSystem uses the AddInputListener and RemoveInputListener to subscribe to the internal OnFloatInput event.
Inheritance
object
Object
Component
Behaviour
MonoBehaviour
FloatInput
Namespace: Goehler.IO.OrbitalCam
Assembly: Assembly-CSharp.dll
Syntax
public abstract class FloatInput : MonoBehaviour
Fields
OnFloatInput
Declaration
protected UnityEvent<float> OnFloatInput
Field Value
| Type | Description |
|---|---|
| UnityEvent<float> |
Methods
AddInputListener(UnityAction<float>)
Declaration
public void AddInputListener(UnityAction<float> callback)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityAction<float> | callback |
RemoveInputListener(UnityAction<float>)
Declaration
public void RemoveInputListener(UnityAction<float> callback)
Parameters
| Type | Name | Description |
|---|---|---|
| UnityAction<float> | callback |