logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityGameHudPresenter

    Unity implementation of IGameHudPresenter: drives a UnityHudHostComponent from the abstract HUD state.

    Inheritance
    object
    UnityGameHudPresenter
    Implements
    IGameHudPresenter
    Namespace: Serenity.GameUi.Infrastructure.Presenters
    Assembly: Serenity.UnityGameUi.Infrastructure.dll
    Syntax
    public class UnityGameHudPresenter : MonoBehaviour, IGameHudPresenter
    Remarks

    The presenter is the whole boundary between "what the UI represents" and "how it is drawn". The service only ever says visible/paused and which HUD is active; everything about anchors, bindings and representations lives on the other side of this call.

    Constructors

    UnityGameHudPresenter()

    Declaration
    public UnityGameHudPresenter()

    Methods

    HideHud()

    Declaration
    public void HideHud()

    ShowHud()

    Declaration
    public void ShowHud()

    UpdateHud(HudState)

    Declaration
    public void UpdateHud(HudState state)
    Parameters
    Type Name Description
    HudState state

    Implements

    IGameHudPresenter
    In this article
    © 2026 Serenity. All Rights Reserved