SusBrandLockup

Brand lockup for a title or lobby screen — optional image mark, a ruled word line, and kicker, tagline and sub lines; stacked or row layout, compact mode.
Package
SusGame · Screens (commercial)
Props
| Name | Type | Default | |
|---|---|---|---|
Mark | Prop<Texture2D> | null | |
MarkImage | Prop<Background> | default(Background) | |
Word | Prop<string> | "" | |
Kicker | Prop<string> | "" | |
Tagline | Prop<string> | "" | |
Sub | Prop<string> | "" | |
Layout | Prop<string> | "stacked" | |
Compact | Prop<bool> | false |
Slots
No slots.
Events
No public events.
Style hooks
USS class contract — override appearance without touching C#. States toggle via these classes:
sus-brandsus-brand__kickersus-brand__marksus-brand__mark--emptysus-brand__rulesus-brand__rule--endsus-brand__rule--startsus-brand__rule-rowsus-brand__subsus-brand__taglinesus-brand__wordsus-brand--compactsus-brand--rowsus-brand--stackedsus-hidden
Usage
xml
<sus:SusBrandLockup />Mark
The optional image next to the wordmark (above it, or beside it in the row variant) comes from one of three sources, in this order:
MarkImage— any UI Toolkit background kind, built withBackground.FromTexture2D,FromSprite,FromVectorImageorFromRenderTexture.Mark— a plainTexture2D, kept for compatibility.MarkImagewins when both are set.- The skin's style. When both props are empty, the mark element carries the state class
sus-brand__mark--empty, which the component's own sheet hides. A skin shows its mark with a rule under its skin class — no code.
Mark from code:
csharp
lockup.MarkImage.Value = Background.FromSprite(logoSprite);Mark from the skin's style:
css
.myskin-skin .sus-brand__mark--empty {
display: flex;
background-image: resource("MySkin/mark");
}The skin-class prefix is what lets this rule win from the skin root — see SusSkin: How brand rules win. A skin that uses the component layer can drop the prefix. With no such rule, an empty mark stays hidden: no placeholder box.