Documentation

Unity Engine

Unity Engine

SetTexture(Texture)

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

Definition

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

Parameters

texture