Property default2DMaterial
default2DMaterial
Returns the default material for the 2D renderer.
Declaration
public override Material default2DMaterial { get; }
Property Value
Type | Description |
---|---|
Material | Returns the material containing the default lit and unlit shader passes for sprites in the 2D renderer. |