Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetTexture(string, Texture)

Sets a texture property value by name.
Read time 1 minuteLast updated 6 days ago

Definition

public void SetTexture(string name, Texture value)

Parameters

name

The property name of the texture value.

value

The texture value to set.