Method LoadSprite
| Edit this page View SourceLoadSprite(string)
Loads a Sprite from a file path or an asset bundle (separated by AssetBundlePathSeparator)
Declaration
public static Sprite LoadSprite(string assetPath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | assetPath |
Returns
| Type | Description |
|---|---|
| Sprite |