add project files
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user