19 lines
302 B
C#
19 lines
302 B
C#
using UnityEngine;
|
|
using UnityEngine.Serialization;
|
|
|
|
namespace OHM.UnityToolkit
|
|
{
|
|
public class FXCamAnimator : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
[FormerlySerializedAs("animator")]
|
|
private Animator _animator;
|
|
|
|
public void Trigger(string trigger)
|
|
{
|
|
_animator.SetTrigger(trigger);
|
|
}
|
|
|
|
}
|
|
}
|