Skip to content

Commit

Permalink
Update CinemachineFollowZoom.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
glabute committed Jun 10, 2024
1 parent 93e82d2 commit 00b3964
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -34,13 +34,13 @@ public class CinemachineFollowZoom : CinemachineExtension
/// <summary>Range for the FOV that this behaviour will generate.</summary>
[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()
Expand Down

0 comments on commit 00b3964

Please sign in to comment.