PanningSettings


Declaration

[Serializable]
public sealed class PanningSettings : CameraBehaviorSettings<Panning>

Description

Settings for a camera panning behavior.

Properties

inputAxisXThe input axis for panning on the x-axis.
inputAxisYThe input axis for panning on the y-axis.
inputButtonAn optional input button required to pan the camera. The camera will always be panning if no button is provided.
smoothingHow quickly the camera responds to changes in movement. Larger numbers make the camera move more smoothly.
resetTimeThe amount of seconds it takes the camera to reset back to the tracking point after panning stops.
Inherited

Properties

activeWhether the settings are active on a camera profile. Inactive settings will not display in the editor.
enabledTurns on or off the settings behavior. Enabled behaviors are updated every frame.
isActiveAndEnabledWhether the settings are active and enabled.