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

파라미터

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

반환

Material Result.

설명

Gets the current Material assigned to the CanvasRenderer.