This commit is contained in:
CortexCore
2024-03-31 23:31:00 +08:00
parent e179d2eb53
commit b7b89ee71a
641 changed files with 31286 additions and 22134 deletions

View File

@@ -195,6 +195,7 @@ namespace BITKit.Animations
private void Update()
{
if (!animator.runtimeAnimatorController) return;
for (var i = 0; i < animator.layerCount; i++)
{
this[i].currentState = animator.GetCurrentAnimatorStateInfo(i);