SusPromptBar

SusGame · HUD (commercial)
Package
SusGame · HUD (commercial)
SusGame · HUD
Props
| Name | Type | Default | |
|---|---|---|---|
Spaced | Prop<bool> | true |
Slots
| Name |
|---|
(default) |
Events
No public events.
Style hooks
USS class contract — override appearance without touching C#. States toggle via these classes:
sus-prompt-barsus-prompt-bar__spacedsus-slot
Usage
csharp
var bar = new SusPromptBar();
bar.Spaced.Value = true;
bar.SetPrompts(
new SusInteractPrompt { /* … */ },
new SusInteractPrompt { /* … */ }
);
// or bar.AddPrompt(prompt);| Prop / API | Role |
|---|---|
Spaced | Adds spacing class between prompts |
AddPrompt / SetPrompts | Populate children |
Look (glyph size, borders) — consumer skin on .sus-prompt-bar / .sus-interact-prompt.