Initial commit

This commit is contained in:
rudder
2026-08-12 14:03:44 +03:00
commit 9a7b4a57dc
304 changed files with 82311 additions and 0 deletions
@@ -0,0 +1,10 @@
<UXML xmlns="UnityEngine.UIElements">
<VisualElement name="backpack-item-row" class="row" style="flex-direction: row; align-items: center; padding-left: 10px; padding-right: 10px; padding-top: 6px; padding-bottom: 6px;">
<VisualElement name="item-icon" style="width: 40px; height: 40px; border-top-left-radius: 9px; border-top-right-radius: 9px; border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; background-color: rgb(30, 51, 44); margin-right: 10px; flex-shrink: 0;" />
<VisualElement name="item-body" style="flex-grow: 1; flex-shrink: 1;">
<Label name="item-name" text="Item name" style="font-size: 14px; -unity-font-style: bold;" />
<Label name="item-meta" text="slug" class="label-muted" style="font-size: 11px;" />
</VisualElement>
<Label name="item-amount" text="×1" class="value-accent value-mono" style="width: 48px; font-size: 14px; -unity-text-align: middle-right; flex-shrink: 0;" />
</VisualElement>
</UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 29a6c5a5b6bb94220b5c2378923d4047
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
+320
View File
@@ -0,0 +1,320 @@
#ui-root {
--bg: #0c1512;
--bg-2: #0f1c18;
--panel: #16241f;
--panel-2: #1b2c26;
--row: #1e332c;
--stroke: #2c463d;
--stroke-soft: #24382f;
--backdrop: rgba(6, 16, 14, 0.62);
--accent: #f1c67d;
--accent-bright: #ffe0a0;
--text: #f6f1e0;
--text-2: #c7cdba;
--muted: #8f9a86;
--primary: #c8863c;
--primary-hover: #dd9a44;
--primary-press: #a96f30;
--primary-fg: #211406;
--danger: #c85a3c;
--danger-hover: #d96f4f;
--success: #6fae5f;
--radius: 14px;
--radius-sm: 9px;
--radius-pill: 999px;
color: var(--text);
font-size: 14px;
flex-grow: 1;
background-color: var(--bg);
}
.panel-fill {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
}
.card {
background-color: var(--panel);
border-color: var(--stroke-soft);
border-width: 1px;
border-radius: var(--radius);
padding: 14px;
}
.card-title {
font-size: 12px;
-unity-font-style: bold;
letter-spacing: 1.3px;
color: var(--accent);
margin-bottom: 10px;
}
.card-hint {
font-size: 11px;
color: var(--muted);
}
.btn {
border-radius: var(--radius-sm);
border-width: 0;
padding: 10px 18px;
font-size: 14px;
-unity-font-style: bold;
-unity-text-align: middle-center;
transition-property: background-color;
transition-duration: 0.12s;
transition-timing-function: ease;
}
.btn:disabled {
opacity: 0.5;
}
.btn-primary {
background-color: var(--primary);
color: var(--primary-fg);
}
.btn-primary:hover {
background-color: var(--primary-hover);
}
.btn-primary:active {
background-color: var(--primary-press);
}
.btn-secondary {
background-color: var(--panel-2);
color: var(--text);
border-color: var(--stroke);
border-width: 1px;
}
.btn-secondary:hover {
background-color: var(--stroke-soft);
}
.btn-secondary:active {
background-color: var(--panel);
}
.btn-ghost {
background-color: rgba(0, 0, 0, 0);
color: var(--text-2);
border-color: var(--stroke);
border-width: 1px;
}
.btn-ghost:hover {
background-color: rgba(255, 255, 255, 0.06);
}
.btn-ghost:active {
background-color: rgba(255, 255, 255, 0.1);
}
.btn-danger {
background-color: var(--danger);
color: #2a0f06;
}
.btn-danger:hover {
background-color: var(--danger-hover);
}
.btn-danger:active {
background-color: var(--danger);
}
.row {
flex-direction: row;
align-items: center;
background-color: var(--panel-2);
border-color: var(--stroke-soft);
border-width: 1px;
border-radius: var(--radius-sm);
padding: 11px 12px;
margin-bottom: 8px;
transition-property: background-color, border-color;
transition-duration: 0.6s;
transition-timing-function: ease;
}
.pill {
border-radius: var(--radius-pill);
border-color: var(--stroke);
border-width: 1px;
background-color: var(--panel);
padding: 5px 12px;
font-size: 12px;
-unity-font-style: bold;
color: var(--text-2);
}
.tag {
border-radius: var(--radius-pill);
padding: 2px 6px;
font-size: 10px;
-unity-font-style: bold;
letter-spacing: 0.6px;
-unity-text-align: middle-center;
color: var(--bg);
}
.chip {
flex-direction: column;
background-color: rgba(14, 26, 22, 0.78);
border-color: var(--stroke);
border-width: 1px;
border-radius: var(--radius-sm);
padding: 7px 14px;
}
.label-muted {
font-size: 10px;
letter-spacing: 1px;
color: var(--muted);
}
.value-mono {
font-size: 13px;
color: var(--text-2);
}
.value-accent {
font-size: 16px;
-unity-font-style: bold;
color: var(--accent-bright);
}
.modal-overlay {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
align-items: center;
justify-content: center;
padding: 24px;
background-color: var(--backdrop);
transition-property: opacity;
transition-duration: 0.15s;
transition-timing-function: ease-out;
}
.modal-window {
width: 600px;
max-height: 90%;
background-color: var(--panel);
border-color: var(--stroke);
border-width: 1px;
border-radius: var(--radius);
transition-property: opacity, scale;
transition-duration: 0.18s;
transition-timing-function: ease-out;
}
.modal-title {
font-size: 24px;
-unity-font-style: bold;
color: var(--accent-bright);
}
.modal-subtitle {
margin-top: 3px;
font-size: 13px;
color: var(--text-2);
}
.modal-footer {
flex-direction: row;
justify-content: flex-end;
padding: 14px 20px 18px;
}
.scroll-list {
flex-grow: 1;
flex-shrink: 1;
}
.empty-note {
color: var(--text-2);
font-size: 14px;
-unity-text-align: middle-center;
padding: 24px 8px;
}
.stat-tile {
flex-grow: 1;
flex-basis: 0;
align-items: center;
padding: 10px;
border-radius: var(--radius-sm);
border-color: var(--stroke-soft);
border-width: 1px;
background-color: var(--panel-2);
}
.stat-value {
font-size: 24px;
-unity-font-style: bold;
color: var(--accent-bright);
}
.stat-label {
font-size: 10px;
letter-spacing: 0.8px;
color: var(--muted);
}
#hud-timer-fill {
background-color: var(--accent);
transition-property: background-color;
transition-duration: 0.25s;
}
#hud-timer-fill.timer-low {
background-color: var(--danger);
}
.flash {
background-color: rgba(241, 198, 125, 0.32);
border-color: var(--accent);
transition-property: background-color, border-color;
transition-duration: 0.6s;
transition-timing-function: ease-out;
}
.tone-info #toast-accent {
background-color: var(--accent);
}
.tone-success #toast-accent {
background-color: var(--success);
}
.tone-error #toast-accent {
background-color: var(--danger);
}
.kv-row {
flex-direction: row;
justify-content: space-between;
padding: 4px 0;
transition-property: background-color, border-color;
transition-duration: 0.6s;
transition-timing-function: ease;
}
.kv-key {
font-size: 12px;
color: var(--muted);
}
.kv-value {
font-size: 12px;
color: var(--text-2);
}
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 35fd0b224430d4ac698ff605ce89eb27
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
unsupportedSelectorAction: 0
@@ -0,0 +1,55 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 19101, guid: 0000000000000000e000000000000000, type: 0}
m_Name: CozyCollectorPanelSettings
m_EditorClassIdentifier: UnityEngine.dll::UnityEngine.UIElements.PanelSettings
themeUss: {fileID: 6688696115612101803, guid: 0000000000000000d000000000000000,
type: 0}
m_DisableNoThemeWarning: 0
m_TargetTexture: {fileID: 0}
m_RenderMode: 0
m_ColliderUpdateMode: 0
m_ColliderIsTrigger: 1
m_ScaleMode: 2
m_ReferenceSpritePixelsPerUnit: 100
m_PixelsPerUnit: 100
m_Scale: 1
m_ReferenceDpi: 96
m_FallbackDpi: 96
m_ReferenceResolution: {x: 1600, y: 900}
m_ScreenMatchMode: 0
m_Match: 0.5
m_SortingOrder: 0
m_TargetDisplay: 0
m_BindingLogLevel: 0
m_ClearDepthStencil: 1
m_ClearColor: 0
m_ColorClearValue: {r: 0, g: 0, b: 0, a: 0}
m_VertexBudget: 0
m_TextureSlotCount: 8
m_DynamicAtlasSettings:
m_MinAtlasSize: 64
m_MaxAtlasSize: 4096
m_MaxSubTextureSize: 64
m_ActiveFilters: -1
m_AtlasBlitShader: {fileID: 9101, guid: 0000000000000000f000000000000000, type: 0}
m_DefaultShader: {fileID: 9100, guid: 0000000000000000f000000000000000, type: 0}
m_RuntimeGaussianBlurShader: {fileID: 20300, guid: 0000000000000000f000000000000000,
type: 0}
m_RuntimeColorEffectShader: {fileID: 20301, guid: 0000000000000000f000000000000000,
type: 0}
m_SDFShader: {fileID: 19011, guid: 0000000000000000f000000000000000, type: 0}
m_BitmapShader: {fileID: 9001, guid: 0000000000000000f000000000000000, type: 0}
m_SpriteShader: {fileID: 19012, guid: 0000000000000000f000000000000000, type: 0}
m_ICUDataAsset: {fileID: 20204, guid: 0000000000000000f000000000000000, type: 0}
forceGammaRendering: 0
textSettings: {fileID: 0}
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 728073018ae96457c9d67e8cc2652ac8
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,190 @@
<UXML xmlns="UnityEngine.UIElements">
<VisualElement name="ui-root" style="flex-grow: 1;">
<Style src="CozyCollector.uss" />
<VisualElement name="hud" style="position: absolute; left: 0; top: 0; bottom: 0; width: 1200px; padding: 16px; flex-direction: column; justify-content: space-between;">
<VisualElement style="flex-direction: row; justify-content: space-between; align-items: flex-start;">
<VisualElement style="flex-direction: row;">
<VisualElement class="chip" style="margin-right: 10px;">
<Label class="label-muted" text="Score" />
<Label name="hud-score" class="value-accent" text="0" />
</VisualElement>
<VisualElement class="chip">
<Label class="label-muted" text="Best" />
<Label name="hud-best" class="value-mono" text="0" />
</VisualElement>
</VisualElement>
<VisualElement class="chip" style="min-width: 140px;">
<Label class="label-muted" text="Time left" />
<Label name="hud-time-left" class="value-mono" text="60s" />
<VisualElement name="hud-timer-bar" style="height: 5px; margin-top: 5px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; background-color: rgba(0, 0, 0, 0.35); overflow: hidden;">
<VisualElement name="hud-timer-fill" style="height: 100%; width: 100%; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px;" />
</VisualElement>
</VisualElement>
</VisualElement>
<VisualElement style="flex-direction: row; justify-content: space-between; align-items: flex-end;">
<VisualElement style="flex-direction: row;">
<Button name="hud-shop-button" class="btn btn-secondary" text="Shop" style="margin-right: 10px;" />
<Button name="hud-backpack-button" class="btn btn-secondary" text="Backpack" />
</VisualElement>
<VisualElement class="chip">
<Label class="label-muted" text="Wallet" />
<Label name="hud-wallet" class="value-accent" text="—" />
</VisualElement>
</VisualElement>
</VisualElement>
<VisualElement name="right-rail" style="position: absolute; right: 0; top: 0; bottom: 0; width: 400px; padding: 14px; flex-direction: column; background-color: #0c1512; border-left-width: 1px; border-left-color: #2c463d;">
<VisualElement name="session-card" class="card" style="margin-bottom: 12px;">
<VisualElement style="flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 10px;">
<Label class="card-title" text="Session" />
<Label class="card-hint" text="device login" />
</VisualElement>
<Label name="session-nickname" class="value-accent" text="—" style="font-size: 16px; margin-bottom: 8px;" />
<VisualElement class="kv-row">
<Label class="kv-key" text="Player" />
<Label name="session-player-id" class="kv-value" text="—" />
</VisualElement>
<VisualElement class="kv-row">
<Label class="kv-key" text="Device" />
<Label name="session-device-id" class="kv-value" text="—" />
</VisualElement>
<VisualElement class="kv-row">
<Label class="kv-key" text="Region" />
<Label name="session-region" class="kv-value" text="—" />
</VisualElement>
<VisualElement class="kv-row">
<Label class="kv-key" text="Project" />
<Label name="session-project-key" class="kv-value" text="—" />
</VisualElement>
<Label name="session-wallets" class="label-muted" text="No wallets" style="margin-top: 8px;" />
</VisualElement>
<VisualElement name="remote-config" class="card" style="margin-bottom: 12px;">
<VisualElement style="flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 10px;">
<Label class="card-title" text="Remote Config" />
<Label class="card-hint" text="live · no client build" />
</VisualElement>
<VisualElement name="rc-row-player-speed" class="row" style="flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 6px;">
<Label class="label-muted" text="player speed" />
<Label name="rc-value-player-speed" class="value-accent" text="—" />
</VisualElement>
<VisualElement name="rc-row-spawn-interval" class="row" style="flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 6px;">
<Label class="label-muted" text="spawn interval" />
<Label name="rc-value-spawn-interval" class="value-accent" text="—" />
</VisualElement>
<VisualElement name="rc-row-collectible-score" class="row" style="flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 6px;">
<Label class="label-muted" text="collectible score" />
<Label name="rc-value-collectible-score" class="value-accent" text="—" />
</VisualElement>
<VisualElement name="rc-row-round-seconds" class="row" style="flex-direction: row; justify-content: space-between; align-items: center;">
<Label class="label-muted" text="round seconds" />
<Label name="rc-value-round-seconds" class="value-accent" text="—" />
</VisualElement>
</VisualElement>
<VisualElement name="event-inspector" class="card panel-fill" style="flex-grow: 1; flex-shrink: 1;">
<VisualElement style="flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 10px;">
<Label class="card-title" text="Event Inspector" />
<Label class="card-hint" text="live" />
</VisualElement>
<ScrollView name="event-log-scroll" class="scroll-list" style="flex-grow: 1; flex-shrink: 1;" />
<Label name="event-log-empty" class="empty-note" text="No events yet" />
</VisualElement>
</VisualElement>
<VisualElement name="toasts" style="position: absolute; left: 864px; bottom: 16px; width: 320px;" />
<VisualElement name="boot-overlay" style="position: absolute; left: 0; right: 0; top: 0; bottom: 0; align-items: center; justify-content: center; background-color: rgba(6, 16, 14, 0.62);">
<VisualElement class="card" style="width: 420px; padding: 30px; align-items: center;">
<VisualElement name="boot-spinner" style="width: 22px; height: 22px; margin-bottom: 14px; border-top-left-radius: 11px; border-top-right-radius: 11px; border-bottom-left-radius: 11px; border-bottom-right-radius: 11px; border-left-width: 3px; border-right-width: 3px; border-top-width: 3px; border-bottom-width: 3px; border-left-color: rgba(241, 198, 125, 0.28); border-right-color: rgba(241, 198, 125, 0.28); border-bottom-color: rgba(241, 198, 125, 0.28); border-top-color: #f1c67d;" />
<Label class="modal-title" text="Cozy Collector" />
<Label name="boot-status" class="label-muted" text="Starting…" style="margin-top: 8px;" />
</VisualElement>
</VisualElement>
<VisualElement name="setup-overlay" style="position: absolute; left: 0; right: 0; top: 0; bottom: 0; align-items: center; justify-content: center; background-color: rgba(6, 16, 14, 0.62);">
<VisualElement class="card" style="width: 480px; padding: 30px; align-items: center;">
<Label class="modal-title" text="Setup required" />
<Label name="setup-error" class="label-muted" text="—" style="margin-top: 12px;" />
</VisualElement>
</VisualElement>
<VisualElement name="shop-modal" class="modal-overlay">
<VisualElement class="modal-window" style="max-height: 80%;">
<VisualElement style="padding: 18px; padding-bottom: 8px;">
<Label class="modal-title" text="Camp Shop" />
<Label name="shop-wallet" class="modal-subtitle" text="Wallet: —" />
</VisualElement>
<ScrollView name="shop-offers-scroll" class="scroll-list" style="flex-grow: 1; flex-shrink: 1; padding-left: 18px; padding-right: 18px;" />
<Label name="shop-empty" class="empty-note" text="No offers available" />
<VisualElement class="modal-footer">
<Button name="shop-close-button" class="btn btn-secondary" text="Close" />
</VisualElement>
</VisualElement>
</VisualElement>
<VisualElement name="backpack-modal" class="modal-overlay">
<VisualElement class="modal-window" style="max-height: 80%;">
<VisualElement style="padding: 18px; padding-bottom: 8px;">
<Label class="modal-title" text="Backpack" />
<Label class="modal-subtitle" text="Server-owned player inventory" />
</VisualElement>
<ScrollView name="backpack-items-scroll" class="scroll-list" style="flex-grow: 1; flex-shrink: 1; padding-left: 18px; padding-right: 18px;" />
<Label name="backpack-empty" class="empty-note" text="Backpack is empty" />
<VisualElement class="modal-footer">
<Button name="backpack-close-button" class="btn btn-secondary" text="Close" />
</VisualElement>
</VisualElement>
</VisualElement>
<VisualElement name="offer-modal" class="modal-overlay">
<VisualElement class="modal-window" style="width: 480px;">
<VisualElement style="padding: 18px; padding-bottom: 8px;">
<Label name="offer-title" class="modal-title" text="Special Offer" />
<Label class="modal-subtitle" text="Delivered by a scenario store-offer node" />
</VisualElement>
<VisualElement style="padding-left: 18px; padding-right: 18px; padding-bottom: 8px;">
<Label name="offer-name" class="value-accent" text="—" style="font-size: 16px;" />
<Label name="offer-price" class="label-muted" text="—" style="margin-top: 4px;" />
</VisualElement>
<VisualElement class="modal-footer">
<Button name="offer-decline-button" class="btn btn-danger" text="Decline" style="margin-right: 10px;" />
<Button name="offer-buy-button" class="btn btn-primary" text="Buy" style="margin-right: 10px;" />
<Button name="offer-close-button" class="btn btn-ghost" text="Close" />
</VisualElement>
</VisualElement>
</VisualElement>
<VisualElement name="round-result-modal" class="modal-overlay">
<VisualElement class="modal-window" style="max-height: 80%;">
<VisualElement style="padding: 18px; padding-bottom: 8px;">
<Label class="modal-title" text="Round Result" />
<Label class="modal-subtitle" text="scenario leaderboard" />
</VisualElement>
<VisualElement style="flex-direction: row; padding-left: 18px; padding-right: 18px; padding-bottom: 12px;">
<VisualElement class="stat-tile" style="flex-grow: 1; margin-right: 10px;">
<Label name="rr-score" class="stat-value" text="0" />
<Label class="stat-label" text="Score" />
</VisualElement>
<VisualElement class="stat-tile" style="flex-grow: 1; margin-right: 10px;">
<Label name="rr-best" class="stat-value" text="0" />
<Label class="stat-label" text="Best" />
</VisualElement>
<VisualElement class="stat-tile" style="flex-grow: 1;">
<Label name="rr-collected" class="stat-value" text="0" />
<Label class="stat-label" text="Collected" />
</VisualElement>
</VisualElement>
<ScrollView name="rr-leaderboard-scroll" class="scroll-list" style="flex-grow: 1; flex-shrink: 1; padding-left: 18px; padding-right: 18px;" />
<Label name="rr-empty" class="empty-note" text="No leaderboard entries" />
<VisualElement class="modal-footer">
<Button name="rr-claim-button" class="btn btn-primary" text="Claim" style="margin-right: 10px;" />
<Button name="rr-play-again-button" class="btn btn-secondary" text="Play Again" style="margin-right: 10px;" />
<Button name="rr-end-button" class="btn btn-ghost" text="End" style="margin-right: 10px;" />
<Button name="rr-close-button" class="btn btn-ghost" text="Close" />
</VisualElement>
</VisualElement>
</VisualElement>
</VisualElement>
</UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 766f5cae1f4354e20b4043cf1c6756bf
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -0,0 +1,7 @@
<UXML xmlns="UnityEngine.UIElements">
<VisualElement name="leaderboard-row" class="row" style="flex-direction: row; align-items: center; padding-left: 10px; padding-right: 10px; padding-top: 6px; padding-bottom: 6px;">
<Label name="lb-rank" text="#1" class="value-accent value-mono" style="width: 44px; font-size: 14px; -unity-font-style: bold; flex-shrink: 0;" />
<Label name="lb-player" text="Player" style="flex-grow: 1; flex-shrink: 1; font-size: 14px;" />
<Label name="lb-score" text="0" class="value-accent value-mono" style="width: 76px; font-size: 14px; -unity-text-align: middle-right; flex-shrink: 0;" />
</VisualElement>
</UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: e171bce5673384061b0cb20cbe5082d1
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
+10
View File
@@ -0,0 +1,10 @@
<UXML xmlns="UnityEngine.UIElements">
<VisualElement name="log-row" class="row" style="flex-direction: row; align-items: center; padding-left: 8px; padding-right: 8px; padding-top: 4px; padding-bottom: 4px;">
<Label name="log-time" text="12:00:00" class="label-muted value-mono" style="width: 64px; font-size: 11px; flex-shrink: 0;" />
<Label name="log-tag" text="TAG" class="tag" style="width: 90px; margin-left: 8px; margin-right: 8px; font-size: 10px; -unity-font-style: bold; -unity-text-align: middle-center; flex-shrink: 0;" />
<VisualElement name="log-body" style="flex-grow: 1; flex-shrink: 1;">
<Label name="log-message" text="event_name" style="font-size: 12px;" />
<Label name="log-detail" text="{ }" class="label-muted value-mono" style="font-size: 10px;" />
</VisualElement>
</VisualElement>
</UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 94171891e540744b3a0f55b254cbe18b
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -0,0 +1,7 @@
<UXML xmlns="UnityEngine.UIElements">
<VisualElement name="shop-offer-row" class="row" style="flex-direction: row; align-items: center; padding-left: 12px; padding-right: 8px; padding-top: 6px; padding-bottom: 6px;">
<Label name="offer-name" text="Offer name" style="flex-grow: 1; flex-shrink: 1; font-size: 14px;" />
<Label name="offer-price" text="$0.99" class="value-accent" style="width: 72px; font-size: 13px; -unity-text-align: middle-right; flex-shrink: 0;" />
<Button name="offer-buy-button" text="Buy" class="btn btn-primary" style="width: 72px; height: 32px; margin-left: 12px; flex-shrink: 0;" />
</VisualElement>
</UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 85424ff7d38f94ed08f809972c61617c
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
+9
View File
@@ -0,0 +1,9 @@
<UXML xmlns="UnityEngine.UIElements">
<VisualElement name="toast-row" class="row tone-info" style="flex-direction: row; align-items: stretch; width: 320px;">
<VisualElement name="toast-accent" style="width: 4px; flex-shrink: 0;" />
<VisualElement name="toast-body" style="flex-grow: 1; flex-shrink: 1; padding-left: 12px; padding-right: 8px; padding-top: 8px; padding-bottom: 8px;">
<Label name="toast-title" text="Toast title" style="font-size: 14px; -unity-font-style: bold;" />
<Label name="toast-message" text="Toast message" class="label-muted" style="font-size: 12px; white-space: normal; margin-top: 2px;" />
</VisualElement>
</VisualElement>
</UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: 3a2038228118b4a09a3a242b8a1fc1d4
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}