📜  linerenderer 跟随相机统一 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:52.478000             🧑  作者: Mango

代码示例1
You can render the line using a dedicated camera. Use .depth to control the order in which cameras render (i.e. render the line on top of -everything-), and .cullingMask to define what each camera renders (or not).

http://unity3d.com/support/documentation/ScriptReference/Camera-depth.html

http://unity3d.com/support/documentation/ScriptReference/Camera-cullingMask.html