mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-11-11 16:48:30 +00:00
提交
This commit is contained in:
@@ -71,6 +71,7 @@ namespace Pathfinding.Examples {
|
||||
|
||||
// Speed relative to the character size
|
||||
anim.SetFloat("NormalizedSpeed", relVelocity.magnitude / anim.transform.lossyScale.x);
|
||||
anim.Update((float)dt / 1000);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user