调用动画的_animation[animIdle.name].wrapMode = WrapMode.Once; 时报错 NullReferenceException: GetRef
并且有警告:The AnimationClip 'WalkForward' used by the Animation component 'player' must be marked as Legacy.
解决方法:选择相应的动画模型,修改Animation Type为:“Legacy”
调用动画的_animation[animIdle.name].wrapMode = WrapMode.Once; 时报错 NullReferenceException: GetRef
并且有警告:The AnimationClip 'WalkForward' used by the Animation component 'player' must be marked as Legacy.
解决方法:选择相应的动画模型,修改Animation Type为:“Legacy”