Class CinemachineEnableWhenDragged

Namespace: AppMana.InteractionToolkit

Configures a Cinemachine pressable input provider to be enabled when the component this script is attached to is dragged.

public class CinemachineEnableWhenDragged : UIBehaviour

Inheritance

UIBehaviour ← CinemachineEnableWhenDragged

Remarks

The purpose of this script is to enable dragging on a large background collider to move a camera, much like dragging in the background of many apps and games moves the camera.

Methods

Start()

protected override void Start()