Show / Hide Table of Contents

Class KeyZoomInput

Sends a float input to all subscribers, based on a set of two customizable keyboard keys.

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
FloatInput
ZoomInput
KeyZoomInput
Inherited Members
FloatInput.OnFloatInput
FloatInput.AddInputListener(UnityAction<float>)
FloatInput.RemoveInputListener(UnityAction<float>)
Namespace: Goehler.IO.OrbitalCam
Assembly: Assembly-CSharp.dll
Syntax
[AddComponentMenu("Goehler Studios/Orbital Cam/Input - Keys, Zoom")]
public class KeyZoomInput : ZoomInput
Remarks

Derives from FloatInput. The OrbitalCameraSystem collects all instances of this component, on all child objects, and then uses the AddInputListener and RemoveInputListener to subscribe to the internal OnFloatInput event.

Methods

GetInput()

Declaration
public float GetInput()
Returns
Type Description
float
In this article
Back to top © 2023-2025 Goehler Studios