16 lines
359 B
C#
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));
|
|
}
|
|
}
|
|
} |