mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +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