Version: 2017.1
public Material GetMaterial (int index);
public Material GetMaterial ();

Parámetros

index The material index to retrieve (0 if this parameter is omitted).

Valor de retorno

Material Result.

Descripción

Gets the current Material assigned to the CanvasRenderer.