Show / Hide Table of Contents

Class ButtonZoomInput

Sends a float input to all subscribers, based on a set of two customizable Buttons using ButtonEventTrigger.

Inheritance
object
Object
Component
Behaviour
MonoBehaviour
FloatInput
ZoomInput
ButtonZoomInput
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 - Buttons, Zoom")]
public class ButtonZoomInput : 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.

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