GetSprite(string)
Clone the first Sprite in this atlas that matches the name packed in this atlas and return it.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.U2D
- Assembly: UnityEngine.CoreModule
public Sprite GetSprite(string name)
Parameters
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.