Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetTexture(Texture)

Sets the texture used by this renderer's material.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.UIModule
public void SetTexture(Texture texture)

Parameters

texture