从着色器代码中公开属性,以便在 Material Inspector 中编辑它们并将其保存为材质资源的一部分。参阅 ShaderLab:定义材质属性。
Specifying package requirements for SubShaders and Passes. This enables Unity to run certain SubShaders and Passes only when particular packages are installed in the Unity project. See ShaderLab: specifying package requirements.