This version of Unity is unsupported.

CanvasRenderer.SetTexture

Switch to Manual

Declaration

public void SetTexture(Texture texture);

Description

Sets the texture used by this renderer's material.