Idle state transitionsLastMoveX < -0.1f transition to walking leftLastMoveX > 0.1f transition to walking rightWalk left state transition dropback to idleLastMoveX > -0.1f transition to idleWalk right state transition dropback to idleLastMoveX < 0.1f transition to idle 按照你应该的那样在动画师上组织,你的代码变得完全冗余而且不需要。Organize that on the animator like you are supposed to and your code becomes totally redundant and is not needed. 这篇关于如何停止角色停止移动时发生的闪烁?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-14 16:28