Files
7d2dXG/Mods/0A-KFCommonUtilityLib/KFAttached/Misc/ItemAnimatorUpdate.cs
Nathaniel Cosford e06f2bd282 Add All Mods
2025-05-29 23:33:28 +09:30

31 lines
769 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.Animations.Rigging;
using UnityEngine.Playables;
[AddComponentMenu("")]
[DisallowMultipleComponent]
internal class ItemAnimatorUpdate : MonoBehaviour
{
private Animator animator;
private RigBuilder weaponRB;
internal PlayableGraph graph;
private void Awake()
{
animator = GetComponent<Animator>();
TryGetComponent<RigBuilder>(out weaponRB);
}
private void Update()
{
//animator.playableGraph.Evaluate(Time.deltaTime);
animator.Update(Time.deltaTime);
//graph.Evaluate(Time.deltaTime);
//weaponRB?.Evaluate(Time.deltaTime);
}
}