Documentation

Unity Engine

Unity Engine

GetTexture(string)

Gets a texture property value by name.
Read time 1 minuteLast updated a month 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.