Class UnityGameHudPresenter
Unity MonoBehaviour implementation of IGameHudPresenter.
Implements
Namespace: Serenity.GameUi.Infrastructure.Presenters
Assembly: Serenity.UnityGameUi.Infrastructure.dll
Syntax
public class UnityGameHudPresenter : MonoBehaviour, IGameHudPresenter
Remarks
Provides a minimal stub that toggles a GameObject's active state to show/hide the HUD. Concrete games should extend or replace this with project-specific rendering logic.
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 |