ドキュメント

Unity Engine

Unity Engine

GetSprite(string)

Clone the first Sprite in this atlas that matches the name packed in this atlas and return it.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public Sprite GetSprite(string name)

Parameters

name

The name of the Sprite.

Returns

Type

Description

Sprite

Remarks

The clone will use the packed texture of this atlas. Using the action of RequestAtlasCallback will not affect this clone.