Add new Bones animation

This commit is contained in:
RochesterX
2025-01-15 16:04:20 -05:00
parent 004260b6e1
commit 4c2830769b
8 changed files with 3153 additions and 2355 deletions

15
Assets/AnimationPlayer.cs Normal file
View File

@@ -0,0 +1,15 @@
using UnityEngine;
[RequireComponent(typeof(Animator))]
public class AnimationPlayer : MonoBehaviour
{
public AnimationClip clip;
private Animator animator;
private void Start()
{
animator = GetComponent<Animator>();
animator.Play(clip.name);
}
}