📜  统一线渲染器不透明度 - C# 代码示例

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

代码示例1
//Create a new material for your line renderer and select shader "Particles/Standard Unlit", set "Rendering mode" to "Fade". Then use it on Line Renderer instead of the default material.

renderer.material.SetColor("_Color", new Color(1f, 1f, 1f, 0.3f));