setDepthTest
Enables or disables depth testing for the UnlitMaterial.
When depth testing is enabled, the renderer will check the depth buffer to determine if the material should be rendered in front of or behind other objects. Disabling depth testing may result in the material always being rendered on top, regardless of its actual depth in the scene.
Parameters
depthTest
Whether to enable depth testing. true: enable; false: disable.