Documentation

Unity Engine

Unity Engine

TrySetRenderingLayerName(int, string)

Give a possibility to change a Rendering Layer name.
Read time 1 minuteLast updated 2 months ago

Definition

public static bool TrySetRenderingLayerName(int index, string name)

Parameters

index

The index of the rendering layer to change.

name

New name for the Rendering Layer.

Returns

Type

Description

boolReturns
true
if the change was successful.