Class SpriteAssetsDetailDefinition
Namespace: UnityEngine.GameFoundation
Assembly: solution.dll
Syntax
public class SpriteAssetsDetailDefinition : BaseDetailDefinition
Properties
Name | Description |
---|---|
this[string] | A square bracket operator to find a Sprite by name string, similar to how you would find a value by key in a Dictionary. |
Methods
Name | Description |
---|---|
ContainsName(string) | Check if this collection contains the given name. |
GetAsset(string) | Find a sprite by its name. |
GetAssets(string) | Finds all assets that use the associated name. |
GetNames() | Get a copy of the list of names as an array. |
GetNames(List<string>) | Populate a list of strings with all the names from this detail. Note: this returns the current state of names for this detail definition. To ensure that there are no invalid or duplicate entries, the list will always be cleared and 'recycled' (i.e. updated) with current data. |