Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetTexture(string)

Gets a texture property value by name.
Read time 1 minuteLast updated 7 days ago

Definition

public Texture GetTexture(string name)

Parameters

name

The property name of the texture value.

Returns

Type

Description

TextureThe texture property stored for the specified name, or null if none.