Add Pause Menu UI, terrains, and X Bot model
Add a new Pause Menu UI (UXML, USS, TSS, asset/meta) and related UI folder metadata. Add new terrain assets and TerrainData files, plus lighting settings for the 2.5d demo scene. Import a new character model (X Bot.fbx) with its importer meta and new characters folder. Update SampleScene and LFS pointers, and refresh render pipeline settings (Mobile RP & URP global settings) and project/package settings. Tweak multiple material files: align _Color with BaseColor, add SHADOWCASTER to disabled shader passes for Ellen materials, and assign a missing main texture for Vincent_Hero_High_diffuse.
This commit is contained in:
BIN
Assets/UI/PauseMenu.asset
LFS
Normal file
BIN
Assets/UI/PauseMenu.asset
LFS
Normal file
Binary file not shown.
8
Assets/UI/PauseMenu.asset.meta
Normal file
8
Assets/UI/PauseMenu.asset.meta
Normal file
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 742020ff6ab3fe14daa48f87aaf616a0
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
1
Assets/UI/PauseMenu.tss
Normal file
1
Assets/UI/PauseMenu.tss
Normal file
@@ -0,0 +1 @@
|
||||
VisualElement {}
|
||||
12
Assets/UI/PauseMenu.tss.meta
Normal file
12
Assets/UI/PauseMenu.tss.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b481e81cf0c97ad47b0715ac1499bcd1
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12388, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
unsupportedSelectorAction: 0
|
||||
93
Assets/UI/PauseMenu.uss
Normal file
93
Assets/UI/PauseMenu.uss
Normal file
@@ -0,0 +1,93 @@
|
||||
.pause-menu-root {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.pause-menu-blur {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(30,30,30,0.6);
|
||||
backdrop-filter: blur(8px);
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.pause-menu-panel {
|
||||
min-width: 600px;
|
||||
min-height: 500px;
|
||||
background-color: rgba(40,40,40,0.95);
|
||||
border-radius: 18px;
|
||||
box-shadow: 0 8px 32px rgba(0,0,0,0.3);
|
||||
padding: 32px 48px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: flex-start;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.pause-menu-title {
|
||||
font-size: 32px;
|
||||
color: #ffd700;
|
||||
margin-bottom: 32px;
|
||||
font-weight: bold;
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
|
||||
.pause-menu-buttons {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.pause-menu-btn {
|
||||
width: 320px;
|
||||
height: 48px;
|
||||
font-size: 18px;
|
||||
background-color: #a44;
|
||||
color: #fff;
|
||||
border-radius: 8px;
|
||||
transition: background-color 0.2s, transform 0.2s;
|
||||
font-weight: 600;
|
||||
border: none;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
|
||||
}
|
||||
.pause-menu-btn:hover {
|
||||
background-color: #d55;
|
||||
transform: scale(1.04);
|
||||
}
|
||||
.pause-menu-btn:active {
|
||||
background-color: #822;
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
.pause-menu-side {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 16px;
|
||||
margin-left: 32px;
|
||||
align-items: flex-end;
|
||||
}
|
||||
.pause-menu-side-btn {
|
||||
width: 180px;
|
||||
height: 40px;
|
||||
font-size: 16px;
|
||||
background-color: #444;
|
||||
color: #fff;
|
||||
border-radius: 8px;
|
||||
transition: background-color 0.2s, transform 0.2s;
|
||||
font-weight: 500;
|
||||
border: none;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.10);
|
||||
}
|
||||
.pause-menu-side-btn:hover {
|
||||
background-color: #666;
|
||||
transform: scale(1.05);
|
||||
}
|
||||
.pause-menu-side-btn:active {
|
||||
background-color: #222;
|
||||
transform: scale(0.97);
|
||||
}
|
||||
12
Assets/UI/PauseMenu.uss.meta
Normal file
12
Assets/UI/PauseMenu.uss.meta
Normal file
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e944fca9e5ae62046ac8a5f038aeba54
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
|
||||
disableValidation: 0
|
||||
unsupportedSelectorAction: 0
|
||||
24
Assets/UI/PauseMenu.uxml
Normal file
24
Assets/UI/PauseMenu.uxml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements">
|
||||
<ui:VisualElement class="pause-menu-root">
|
||||
<ui:VisualElement class="pause-menu-blur"/>
|
||||
<ui:VisualElement class="pause-menu-panel">
|
||||
<ui:Label text="PAUSE MENU" class="pause-menu-title" />
|
||||
<ui:VisualElement class="pause-menu-buttons">
|
||||
<ui:Button name="resumeButton" text="Resume" class="pause-menu-btn" />
|
||||
<ui:Button name="restartButton" text="Restart" class="pause-menu-btn" />
|
||||
<ui:Button name="switchControlButton" text="Switch Control Type (Touch/Keyboard)" class="pause-menu-btn" />
|
||||
<ui:Button name="touchOptionsButton" text="Touch Options" class="pause-menu-btn" />
|
||||
<ui:Button name="editInputButton" text="Edit Control Input" class="pause-menu-btn" />
|
||||
<ui:Button name="exitHomeButton" text="Exit To Home" class="pause-menu-btn" />
|
||||
<ui:Button name="exitDesktopButton" text="Exit To Desktop" class="pause-menu-btn" />
|
||||
</ui:VisualElement>
|
||||
<ui:VisualElement class="pause-menu-side">
|
||||
<ui:Button name="photoModeButton" text="Photo Mode" class="pause-menu-side-btn" />
|
||||
<ui:Button name="toggleConsoleButton" text="Toggle Console Debug (Off)" class="pause-menu-side-btn" />
|
||||
<ui:Button name="stopGameButton" text="Stop Game (Debug)" class="pause-menu-side-btn" />
|
||||
<ui:Button name="helpButton" text="?" class="pause-menu-side-btn" />
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:VisualElement>
|
||||
</ui:UXML>
|
||||
10
Assets/UI/PauseMenu.uxml.meta
Normal file
10
Assets/UI/PauseMenu.uxml.meta
Normal file
@@ -0,0 +1,10 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d850c0f1200f54949bb614446ffe2bf8
|
||||
ScriptedImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
|
||||
Reference in New Issue
Block a user