Class UnityHudIconSetRepresentation.IconEntry
One value-to-sprite mapping.
Inherited Members
Namespace: Serenity.GameUi.Infrastructure.Representations
Assembly: Serenity.UnityGameUi.Infrastructure.dll
Syntax
public class UnityHudIconSetRepresentation.IconEntry
Remarks
The tint belongs to the entry, not to the set. An icon set is normally a set of states — healthy, poisoned, out of ammo — and the colour is what distinguishes them as much as the shape does. One tint across the whole set would force every state to be recoloured in the art instead.
Constructors
IconEntry()
Declaration
public IconEntry()
Fields
Sprite
Declaration
public Sprite Sprite
Field Value
| Type | Description |
|---|---|
| Sprite |
Tint
Declaration
public Color Tint
Field Value
| Type | Description |
|---|---|
| Color |
Value
Declaration
public string Value
Field Value
| Type | Description |
|---|---|
| string |