Skip to content

SusHudDeploymentReady

SusHudDeploymentReady

Deployment-phase CTA — elevated ready button with enable gate.

Package

SusGame · HUD (commercial)

Open in Playground

SusGame · HUD

Props

NameTypeDefault
LabelProp<string>"Deployment ready"
EnabledProp<bool>true

Slots

No slots.

Events

NameFieldPayload
ReadyOnReady

Style hooks

USS class contract — override appearance without touching C#. States toggle via these classes:

  • sus-hud-deployment-ready
  • sus-hud-deployment-ready__btn

Usage

csharp
var ready = new SusHudDeploymentReady();
ready.Label.Value = "Deployment ready";
ready.Enabled.Value = true;
ready.OnReady += () => { /* lock deployment / start battle */ };
// or: ready.ApplyData("Ready!", enabled: canConfirm);
xml
<template>
  <sus:SusHudDeploymentReady :Label="Label.Value"
                             :Enabled="Enabled.Value"
                             @ready="OnReady" />
</template>

<script>
public Prop<string> Label = new("Deployment ready");
public Prop<bool> Enabled = new(true);
void OnReady() { /* … */ }
</script>
Prop / APIRole
LabelButton text (default Deployment ready)
Enabledfalse disables the button
ApplyData(label, enabled?)Batch update
OnReadyClick when enabled

Notes

  • Host in deployment HUD chrome (often with unit rail / minimap), not as a standalone screen.
  • Empty label falls back to Deployment ready.