GraphicsSettings.defaultRenderingLayerMask

Switch to Manual
public static uint defaultRenderingLayerMask ;

Description

Stores the default value for the RenderingLayerMask property of newly created Renderers.

This property allows you to define the default value for the RenderingLayerMask property of newly created Mesh Renderers and Terrain Renderers.