摘要: 在Sprite Render中有个Sorting Layer,这里可以建层,而Inspector窗口中也有个layer,也可以新建层,这2者有什么不一样呢?layer主要通过光线投射来选择性地忽略碰撞器,或者添加碰撞功能。而sorting layer就是一个渲染层级的顺序的控制。决定Unity渲染关... 阅读全文
posted @ 2015-05-21 13:27 阿土仔 阅读(468) 评论(0) 推荐(0) 编辑
摘要: Should we control the character's position from the animation itself or from script.如果a56爆大奖在线娱乐们勾选了Animator组件中的Apply Root Motion选项角色的Transform将不能通过脚本来直接赋值,而是通... 阅读全文
posted @ 2015-05-21 13:19 阿土仔 阅读(10970) 评论(0) 推荐(1) 编辑