文档

Unity Engine

Unity Engine

GetTexture(int)

Retrieve the texture which is currently assigned to the specified layer.
阅读时间1 分钟最后更新于 2 天前

Definition

public Texture2D GetTexture(int layer = 0)

Parameters

layer

Cannot be larger than PlatformIcon.maxLayerCount.

Returns

Type

Description

Texture2D