Referenced
Include video shaders in builds when referenced by scenes.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
[InspectorName("Include if referenced")]Referenced = 1
Remarks
If a VideoPlayer or VideoClip is in a scene, video shaders are included in the build.
Note: Class references are not inspected during the build. If you create a VideoPlayer through scripting and you are not using a VideoClip, use the VideoShadersIncludeMode.Always mode.