Unity3D-Layer

来源:互联网 发布:矩阵的秩是什么意思 编辑:程序博客网 时间:2024/05/21 03:59

      本文是对Unity3D圣典关于Layer的文章:http://game.ceeger.com/Components/Layers.html作一些说明。

      Layers are most commonly used by Cameras to render only a part of the scene, and by Lights to illuminate only parts of the scene. But they can also used by raycasting to selectively ignore colliders or to create collisions.

P.S.:忽略某些碰撞器时射线就会穿过这些碰撞器,若射线不忽略碰撞器,则碰撞器就会被碰撞器挡住。

欢迎各位不吝赐教!

0 0
原创粉丝点击