logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityHudIconSetRepresentation.IconEntry

    One value-to-sprite mapping.

    Inheritance
    object
    UnityHudIconSetRepresentation.IconEntry
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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
    In this article
    © 2026 Serenity. All Rights Reserved