17 lines
446 B
C#
17 lines
446 B
C#
using UnityEngine;
|
|
|
|
namespace Beyond
|
|
{
|
|
/// <summary>
|
|
/// Marks a target that should override the lock-on camera state when close.
|
|
/// </summary>
|
|
public sealed class LockOnCameraStateOverrideTarget : MonoBehaviour
|
|
{
|
|
[Tooltip("Camera state to use while locked on this target.")]
|
|
public string cameraStateName = "LockOnBig";
|
|
|
|
[Tooltip("Max distance to apply the override. Set per enemy as needed.")]
|
|
public float maxDistance = 6f;
|
|
}
|
|
}
|