Method AddOverride
AddOverride(SpriteLibraryAsset, string, string)
Add or replace an override when querying for the given Category and Label from a SpriteLibraryAsset
Declaration
public void AddOverride(SpriteLibraryAsset spriteLib, string category, string label)
Parameters
Type | Name | Description |
---|---|---|
SpriteLibraryAsset | spriteLib | Sprite Library Asset to query |
string | category | Category name from the Sprite Library Asset to add override |
string | label | Label name to add override |
AddOverride(SpriteLibraryAsset, string)
Add or replace an override when querying for the given Category. All the categories in the Category will be added.
Declaration
public void AddOverride(SpriteLibraryAsset spriteLib, string category)
Parameters
Type | Name | Description |
---|---|---|
SpriteLibraryAsset | spriteLib | Sprite Library Asset to query |
string | category | Category name from the Sprite Library Asset to add override |
AddOverride(Sprite, string, string)
Add or replace an override when querying for the given Category and Label.
Declaration
public void AddOverride(Sprite sprite, string category, string label)
Parameters
Type | Name | Description |
---|---|---|
Sprite | sprite | Sprite to override to |
string | category | Category name to override |
string | label | Label name to override |