Files
BITKit/Src/Unity/Scripts/Animator/AnimatorHelper.cs
CortexCore bd40165ade 1
2023-10-24 23:38:22 +08:00

16 lines
359 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 is not null)
root.SendMessage(nameof(OnAnimatorMove));
}
}
}