FollowSettings
Class in Zigurous.CameraSystem
Inherits from CameraBehaviorSettings<T>
Declaration
[Serializable]
public sealed class FollowSettings : CameraBehaviorSettings<Follow>
Description
Settings for a camera follow behavior.
Properties
offset | The camera offset in the tracking target's local space. Use this to fine-tune the tracking position when the desired position is not the center of the target. |
moveTracking | Moves the camera to follow the target. |
moveDamping | How quickly the camera follows the tracking target. Small numbers make the camera follow the target more closely. |
lookTracking | Rotates the camera to look at the tracking target. |
lookDamping | How quickly the camera looks toward the tracking target. Small numbers make the camera respond more quickly. |
lookDelay | The amount of seconds before the camera starts automatically looking at the tracking target after the player has manually looked away. |
Inherited
Properties
active | Whether the settings are active on a camera profile. Inactive settings will not display in the editor. |
enabled | Turns on or off the settings behavior. Enabled behaviors are updated every frame. |
isActiveAndEnabled | Whether the settings are active and enabled. |