文档

Unity Engine

Unity Engine

GetTexture(string)

Gets a texture property value by name.
阅读时间1 分钟最后更新于 1 个月前

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.