Files
iFactory.Cutting.Unity/Assets/BITKit/Unity/Scripts/Animator/AnimatorHelper.cs
CortexCore fd39099061 init
2024-01-23 02:56:26 +08:00

22 lines
527 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace BITKit
{
public class AnimatorHelper : MonoBehaviour
{
[SerializeField] private Transform root;
private void OnAnimatorMove()
{
if (root)
root.SendMessage(nameof(OnAnimatorMove));
}
private void AIAnimationEvent(string actionName)
{
if (root)
root.SendMessage(nameof(AIAnimationEvent), actionName);
}
}
}