Property this
this[string]
A square bracket operator to find a Sprite by key string, similar to how you would find a value by key in a Dictionary.
Declaration
public Sprite this[string key] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | key | The Sprite we are searching for |
Property Value
| Type | Description |
|---|---|
| Sprite | Returns a Sprite if one is found with that key. Could return null. Could throw a KeyNotFoundException. |