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:
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);
|
||||
}
|
||||
Reference in New Issue
Block a user