diff --git a/com.unity.cinemachine/Runtime/Behaviours/CinemachineFollowZoom.cs b/com.unity.cinemachine/Runtime/Behaviours/CinemachineFollowZoom.cs index 18f10caef..7cd72e468 100644 --- a/com.unity.cinemachine/Runtime/Behaviours/CinemachineFollowZoom.cs +++ b/com.unity.cinemachine/Runtime/Behaviours/CinemachineFollowZoom.cs @@ -12,7 +12,7 @@ namespace Unity.Cinemachine [SaveDuringPlay] [ExecuteAlways] [DisallowMultipleComponent] - [RequiredTarget(RequiredTargetAttribute.RequiredTargets.Tracking)] + [RequiredTarget(RequiredTargetAttribute.RequiredTargets.LookAt)] [HelpURL(Documentation.BaseURL + "manual/CinemachineFollowZoom.html")] public class CinemachineFollowZoom : CinemachineExtension { @@ -34,13 +34,13 @@ public class CinemachineFollowZoom : CinemachineExtension /// Range for the FOV that this behaviour will generate. [MinMaxRangeSlider(1f, 179f)] [Tooltip("Range for the FOV that this behaviour will generate.")] - public Vector2 FovRange = new Vector2(3f, 60f); + public Vector2 FovRange = new (3f, 60f); void Reset() { Width = 2f; Damping = 1f; - FovRange = new Vector2(3f, 60f); + FovRange = new (3f, 60f); } void OnValidate()