Show / Hide Table of Contents

Method LoadSprite

| Edit this page View Source

LoadSprite(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
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾