This commit is contained in:
MuHua-123
2025-07-16 18:04:05 +08:00
parent 1255b68f7e
commit 4cfefc8103
72 changed files with 1472 additions and 592 deletions
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 6a177d2ab58f14846a6c9258d70c80a8
guid: b5a8da441992d9e4b9bd69b981aaf2d6
folderAsset: yes
DefaultImporter:
externalObjects: {}
Binary file not shown.

After

Width:  |  Height:  |  Size: 978 B

@@ -0,0 +1,127 @@
fileFormatVersion: 2
guid: 3160e472331eaad4c96b5ece075037b5
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 684 B

@@ -0,0 +1,127 @@
fileFormatVersion: 2
guid: 225e850704b3dce4e9f338d3ec1b1359
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

@@ -0,0 +1,127 @@
fileFormatVersion: 2
guid: a7c3589de06f82146987e2416b467952
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 3fa07bbece82f4a4fbd93def67a53498
guid: c32071e543671de4e932c58f0dce4954
folderAsset: yes
DefaultImporter:
externalObjects: {}
Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

@@ -0,0 +1,127 @@
fileFormatVersion: 2
guid: 69ff0e4b4da18f744844c41e5ca6fe3e
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 13
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: e75382f2016e24140822934445b9d30d
guid: eb29ea32f1ce55a4288ab809db3a82e5
folderAsset: yes
DefaultImporter:
externalObjects: {}
@@ -0,0 +1,64 @@
.vp-background {
width: 100%;
height: 100%;
justify-content: flex-end;
background-color: rgba(0, 0, 0, 0);
}
.vp-video-view {
flex-grow: 1;
position: absolute;
width: 100%;
height: 100%;
}
.vp-video-controller {
height: 55px;
width: 100%;
background-color: rgba(0, 0, 0, 0.5);
flex-direction: row;
justify-content: space-between;
padding-right: 5px;
padding-left: 5px;
padding-top: 0;
padding-bottom: 5px;
margin-bottom: 0;
}
.vp-button {
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
width: 50px;
height: 50px;
background-color: rgba(0, 0, 0, 0);
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.vp-video-time-text {
color: rgb(255, 255, 255);
-unity-text-align: middle-center;
font-size: 28px;
width: 210px;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
height: 100%;
}
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: a05ba4ce7190c214a8a5812a5c58040b
guid: a2817295a06871a489c6f3e6b7ad35b1
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
@@ -0,0 +1,21 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/Component/VideoPlay/VideoPlay.uss?fileID=7433441132597879392&amp;guid=a2817295a06871a489c6f3e6b7ad35b1&amp;type=3#VideoPlay" />
<Style src="project://database/Assets/UI%20Toolkit/Component/Slider/Slider.uss?fileID=7433441132597879392&amp;guid=ca2fb5adc90c9af4cb0426c459d7e9e5&amp;type=3#Slider" />
<ui:VisualElement name="Background" class="vp-background">
<ui:VisualElement name="VideoView" class="vp-video-view" />
<ui:VisualElement name="VideoController" class="vp-video-controller">
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Play" class="vp-button" style="background-image: url(&quot;project://database/Assets/UI%20Toolkit/Assets/%E8%A7%86%E9%A2%91%E6%92%AD%E6%94%BE/%E8%A7%86%E9%A2%91%E6%92%AD%E6%94%BE.png?fileID=2800000&amp;guid=225e850704b3dce4e9f338d3ec1b1359&amp;type=3#视频播放&quot;);" />
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Pause" class="vp-button" style="background-image: url(&quot;project://database/Assets/UI%20Toolkit/Assets/%E8%A7%86%E9%A2%91%E6%92%AD%E6%94%BE/%E8%A7%86%E9%A2%91%E6%9A%82%E5%81%9C.png?fileID=2800000&amp;guid=a7c3589de06f82146987e2416b467952&amp;type=3#视频暂停&quot;); display: none;" />
<ui:VisualElement name="Slider" class="slider-horizontal" style="flex-grow: 1; height: auto;">
<ui:Label tabindex="-1" text="滑块" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Title" class="slider-horizontal-title" style="display: none;" />
<ui:VisualElement name="Container" class="slider-horizontal-container">
<ui:VisualElement name="Tracker" class="slider-horizontal-tracker">
<ui:VisualElement name="Dragger" class="slider-horizontal-dragger" style="height: 24px; width: 16px; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:Label tabindex="-1" text="00:00/00:00" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Time" class="vp-video-time-text" />
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="FullScreen" class="vp-button" style="background-image: url(&quot;project://database/Assets/UI%20Toolkit/Assets/%E8%A7%86%E9%A2%91%E6%92%AD%E6%94%BE/%E8%A7%86%E9%A2%91%E5%85%A8%E5%B1%8F.png?fileID=2800000&amp;guid=3160e472331eaad4c96b5ece075037b5&amp;type=3#视频全屏&quot;);" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 97a24ba5ca1d7234e93ef1045aad2beb
guid: 97e374a25c096fd4a9780c2e0d33ca59
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
@@ -1,112 +1,3 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<ui:Template name="Dropdown" src="project://database/Assets/UI%20Toolkit/Component/Dropdown/Dropdown.uxml?fileID=9197481963319205126&amp;guid=58251f1c92414424eb285cc650757918&amp;type=3#Dropdown" />
<Style src="project://database/Assets/UI%20Toolkit/Document/Document.uss?fileID=7433441132597879392&amp;guid=9205939af30a4394f8f2e34232b27890&amp;type=3#Document" />
<ui:VisualElement style="flex-grow: 1; flex-direction: row;">
<ui:VisualElement name="ScrollView1" class="scrollview" style="width: 350px; height: 450px; flex-grow: 0;">
<ui:VisualElement name="Viewport" class="scrollview-viewport" style="margin-right: 30px; margin-bottom: 0; flex-direction: column;">
<ui:VisualElement name="Container" class="scrollview-container" style="width: 100%; height: auto;">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Toggle label="Toggle" />
<ui:Toggle label="Toggle" />
<ui:Instance template="Dropdown" name="Dropdown" style="width: 200px;" />
<ui:DropdownField label="Dropdown" />
<ui:TextField picking-mode="Ignore" label="Text Field" value="filler text" />
<ui:FloatField label="Float Field" value="42.2" />
<ui:FloatField label="Float Field" value="42.2" />
<ui:FloatField label="Float Field" value="42.2" />
<ui:FloatField label="Float Field" value="42.2" />
<ui:FloatField label="Float Field" value="42.2" />
<ui:FloatField label="Float Field" value="42.2" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="ScrollerHorizontal" class="scroller-horizontal scrollview-horizontal-scroller" style="right: 0; display: none;">
<ui:VisualElement name="Dragger" class="scroller-horizontal-dragger scrollview-horizontal-scroller-dragger" />
</ui:VisualElement>
<ui:VisualElement name="ScrollerVertical" class="scroller-vertical scrollview-vertical-scroller">
<ui:VisualElement name="Dragger" class="scroller-vertical-dragger scrollview-vertical-scroller-dragger" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="ScrollView2" class="scrollview" style="width: 350px; height: 450px; flex-grow: 0;">
<ui:VisualElement name="Viewport" class="scrollview-viewport" style="margin-right: 30px; margin-bottom: 0; flex-direction: column;">
<ui:VisualElement name="Container" class="scrollview-container" style="width: 100%; height: auto;">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Toggle label="Toggle" />
<ui:Toggle label="Toggle" />
<ui:Instance template="Dropdown" name="Dropdown" style="width: 200px;" />
<ui:DropdownField label="Dropdown" />
<ui:TextField picking-mode="Ignore" label="Text Field" value="filler text" />
<ui:FloatField label="Float Field" value="42.2" />
<ui:FloatField label="Float Field" value="42.2" />
<ui:FloatField label="Float Field" value="42.2" />
<ui:FloatField label="Float Field" value="42.2" />
<ui:FloatField label="Float Field" value="42.2" />
<ui:FloatField label="Float Field" value="42.2" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="ScrollerHorizontal" class="scroller-horizontal scrollview-horizontal-scroller" style="right: 0; display: none;">
<ui:VisualElement name="Dragger" class="scroller-horizontal-dragger scrollview-horizontal-scroller-dragger" />
</ui:VisualElement>
<ui:VisualElement name="ScrollerVertical" class="scroller-vertical scrollview-vertical-scroller">
<ui:VisualElement name="Dragger" class="scroller-vertical-dragger scrollview-vertical-scroller-dragger" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="ScrollView3" class="scrollview" style="flex-grow: 0; width: 350px; height: 450px;">
<ui:VisualElement name="Viewport" class="scrollview-viewport" style="margin-right: 0;">
<ui:VisualElement name="Container" class="scrollview-container" style="height: 100%; width: auto; flex-direction: row;">
<ui:Button text="1" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="2" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="3" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="4" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="5" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="6" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="7" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="8" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="9" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="10" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="ScrollerHorizontal" class="scroller-horizontal scrollview-horizontal-scroller" style="right: 0;">
<ui:VisualElement name="Dragger" class="scroller-horizontal-dragger scrollview-horizontal-scroller-dragger" />
</ui:VisualElement>
<ui:VisualElement name="ScrollerVertical" class="scroller-vertical scrollview-vertical-scroller" style="display: none;">
<ui:VisualElement name="Dragger" class="scroller-vertical-dragger scrollview-vertical-scroller-dragger" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="ScrollView4" class="scrollview" style="flex-grow: 0; width: 350px; height: 450px;">
<ui:VisualElement name="Viewport" class="scrollview-viewport" style="margin-right: 0;">
<ui:VisualElement name="Container" class="scrollview-container" style="height: 100%; width: auto; flex-direction: row;">
<ui:Button text="1" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="2" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="3" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="4" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="5" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="6" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="7" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="8" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="9" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="10" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" />
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="ScrollerHorizontal" class="scroller-horizontal scrollview-horizontal-scroller" style="right: 0;">
<ui:VisualElement name="Dragger" class="scroller-horizontal-dragger scrollview-horizontal-scroller-dragger" />
</ui:VisualElement>
<ui:VisualElement name="ScrollerVertical" class="scroller-vertical scrollview-vertical-scroller" style="display: none;">
<ui:VisualElement name="Dragger" class="scroller-vertical-dragger scrollview-vertical-scroller-dragger" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
File diff suppressed because one or more lines are too long
@@ -1,14 +0,0 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/GameLoading/GameLoading.uss?fileID=7433441132597879392&amp;guid=177bfd27cd49a19458347bff2727268f&amp;type=3#GameLoading" />
<ui:VisualElement style="flex-grow: 1; background-color: rgba(0, 0, 0, 0.5);">
<ui:VisualElement name="Progress" class="slider-horizontal" style="flex-direction: column; align-items: stretch; height: 70px; position: absolute; bottom: 100px; left: 400px; right: 400px;">
<ui:Label tabindex="-1" text="运行中。。。" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Title" enable-rich-text="true" class="slider-horizontal-title" style="-unity-text-align: middle-center; font-size: 24px;" />
<ui:VisualElement name="Container" class="slider-horizontal-container" style="border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px;">
<ui:VisualElement name="Tracker" class="slider-horizontal-tracker" style="border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; background-color: rgb(19, 190, 190);">
<ui:VisualElement name="Dragger" class="slider-horizontal-dragger" style="display: none;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement style="flex-grow: 1;" />
</ui:VisualElement>
</ui:UXML>
-99
View File
@@ -1,99 +0,0 @@
.gamepopup {
flex-grow: 1;
align-items: center;
justify-content: space-around;
}
.gamepopup-bg {
background-color: rgb(19, 190, 190);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
border-top-width: 2px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-left-color: rgb(255, 255, 255);
border-right-color: rgb(255, 255, 255);
border-top-color: rgb(255, 255, 255);
border-bottom-color: rgb(255, 255, 255);
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 5px;
}
.gamepopup-top {
background-color: rgb(255, 255, 255);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
align-items: center;
}
.gamepopup-title {
-unity-text-align: middle-center;
font-size: 32px;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
height: 50px;
}
.gamepopup-container {
}
.gamepopup-bottom {
height: auto;
align-items: center;
justify-content: flex-end;
padding-top: 5px;
padding-right: 5px;
padding-bottom: 5px;
padding-left: 5px;
}
.gamepopup-button {
background-color: rgb(19, 190, 190);
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-left-color: rgb(255, 255, 255);
border-right-color: rgb(255, 255, 255);
border-top-color: rgb(255, 255, 255);
border-bottom-color: rgb(255, 255, 255);
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
height: 30px;
width: 80px;
color: rgb(255, 255, 255);
font-size: 18px;
transition-duration: 0.2s;
}
.gamepopup-button:hover {
scale: 1.1 1.1;
}
.gamepopup-hide {
opacity: 0;
display: none;
}
@@ -1,14 +0,0 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/GamePopup/GamePopup.uss?fileID=7433441132597879392&amp;guid=a05ba4ce7190c214a8a5812a5c58040b&amp;type=3#GamePopup" />
<ui:VisualElement name="GamePopup" picking-mode="Ignore" class="gamepopup">
<ui:VisualElement name="Background" class="gamepopup-bg">
<ui:VisualElement name="Top" class="gamepopup-top">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Title" class="gamepopup-title" />
<ui:VisualElement name="Container" class="gamepopup-container" />
</ui:VisualElement>
<ui:VisualElement name="Bottom" class="gamepopup-bottom">
<ui:Button text="确认" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button" class="gamepopup-button" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d909de94d183c3941995a31368040270
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1 @@
VisualElement {}
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 177bfd27cd49a19458347bff2727268f
guid: b1e4363420ab230499d487ec1ad2ad29
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
@@ -0,0 +1,13 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<ui:VisualElement style="flex-grow: 1; flex-direction: column-reverse; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px; align-items: center; background-image: none; background-color: rgba(0, 0, 0, 0);">
<ui:VisualElement name="Slider" class="slider-horizontal" style="flex-direction: column; width: 1000px; height: 60px; padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0;">
<ui:Label tabindex="-1" text="加载中。。。" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Title" class="slider-horizontal-title" style="height: 30px; -unity-text-align: middle-center;" />
<ui:VisualElement name="Container" class="slider-horizontal-container" style="width: 100%; height: 30px; flex-grow: 0; flex-shrink: 1; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; background-color: rgb(255, 255, 255);">
<ui:VisualElement name="Tracker" class="slider-horizontal-tracker" style="border-top-left-radius: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; border-left-color: rgb(255, 255, 255); border-right-color: rgb(255, 255, 255); border-top-color: rgb(255, 255, 255); border-bottom-color: rgb(255, 255, 255); background-color: rgb(52, 152, 219);">
<ui:VisualElement name="Dragger" class="slider-horizontal-dragger" style="display: none;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement style="position: absolute; left: 0; top: 0; right: 0; bottom: 0;" />
</ui:UXML>
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 359206062f2fc8f459139627ef20d163
guid: fb5d6f3bc717b0d4d9de29e39c671f95
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6b0fac07849d878469a618a9f46810a7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,79 @@
.message-panel {
flex-grow: 1;
align-items: center;
justify-content: space-around;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
display: flex;
opacity: 1;
transition-duration: 0.2s;
background-color: rgba(0, 0, 0, 0.5);
}
.message-panel-bg {
width: 300px;
height: 200px;
background-color: rgb(229, 229, 229);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
border-top-width: 2px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-left-color: rgb(0, 0, 0);
border-right-color: rgb(0, 0, 0);
border-top-color: rgb(0, 0, 0);
border-bottom-color: rgb(0, 0, 0);
align-items: center;
}
.message-panel-content {
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
padding-left: 10px;
width: 100%;
height: 100%;
-unity-text-align: middle-center;
font-size: 24px;
white-space: normal;
}
.message-panel-button {
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
border-top-width: 2px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
border-left-color: rgb(0, 0, 0);
border-right-color: rgb(0, 0, 0);
border-top-color: rgb(0, 0, 0);
border-bottom-color: rgb(0, 0, 0);
width: 80px;
height: 35px;
transition-duration: 0.2s;
}
.message-panel-button:hover {
scale: 1.1 1.1;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: da034b9f31c3a734d8e1b216d1204e37
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,8 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/GamePopup/Message/Message.uss?fileID=7433441132597879392&amp;guid=da034b9f31c3a734d8e1b216d1204e37&amp;type=3#Message" />
<ui:VisualElement name="Message1" picking-mode="Ignore" class="message-panel">
<ui:VisualElement name="BG" class="message-panel-bg">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Content" class="message-panel-content" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: dee1b20bc314365459978397be7a5cfa
guid: abba321009af7374fab0573063390012
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
@@ -0,0 +1,9 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/GamePopup/Message/Message.uss?fileID=7433441132597879392&amp;guid=da034b9f31c3a734d8e1b216d1204e37&amp;type=3#Message" />
<ui:VisualElement name="Message" picking-mode="Ignore" class="message-panel">
<ui:VisualElement name="BG" class="message-panel-bg">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Content" class="message-panel-content" style="height: 70%;" />
<ui:Button text="确认" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button" class="message-panel-button" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 23f846fe02415a24c9124807c12e3618
guid: 64c8f6a9923ad4342a545b1d220ac33e
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
@@ -0,0 +1,12 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/GamePopup/Message/Message.uss?fileID=7433441132597879392&amp;guid=da034b9f31c3a734d8e1b216d1204e37&amp;type=3#Message" />
<ui:VisualElement name="Message" picking-mode="Ignore" class="message-panel">
<ui:VisualElement name="BG" class="message-panel-bg">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Content" class="message-panel-content" style="height: 70%;" />
<ui:VisualElement style="height: 30%; width: 100%; flex-direction: row; align-items: flex-start; justify-content: space-around;">
<ui:Button text="确认" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button1" class="message-panel-button" />
<ui:Button text="取消" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button2" class="message-panel-button" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: d0d62b55e75a5814b88ba5b20ee9ce0e
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -1,14 +0,0 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/GamePopup/GamePopup.uss?fileID=7433441132597879392&amp;guid=a05ba4ce7190c214a8a5812a5c58040b&amp;type=3#GamePopup" />
<ui:VisualElement name="GamePopup" picking-mode="Ignore" class="gamepopup gamepopup-hide" style="justify-content: flex-end; padding-top: 50px; padding-right: 50px; padding-bottom: 50px; padding-left: 50px;">
<ui:VisualElement name="Background" class="gamepopup-bg">
<ui:VisualElement name="Top" class="gamepopup-top">
<ui:Label tabindex="-1" text="LabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabelLabel" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Title" class="gamepopup-title" style="min-width: 300px; max-width: 1000px; white-space: normal; -unity-text-align: middle-left; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px; height: auto;" />
<ui:VisualElement name="Container" class="gamepopup-container" />
</ui:VisualElement>
<ui:VisualElement name="Bottom" class="gamepopup-bottom" style="position: absolute; left: 0; top: 0; right: 0; bottom: 0; flex-grow: 0; height: auto;">
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button" class="gamepopup-button" style="width: 100%; height: 100%; background-color: rgba(19, 190, 190, 0);" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
@@ -1,14 +0,0 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/GamePopup/GamePopup.uss?fileID=7433441132597879392&amp;guid=a05ba4ce7190c214a8a5812a5c58040b&amp;type=3#GamePopup" />
<ui:VisualElement name="GamePopup" picking-mode="Ignore" class="gamepopup gamepopup-hide">
<ui:VisualElement name="Background" class="gamepopup-bg">
<ui:VisualElement name="Top" class="gamepopup-top">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Title" class="gamepopup-title" style="min-width: 300px; min-height: 200px;" />
<ui:VisualElement name="Container" class="gamepopup-container" />
</ui:VisualElement>
<ui:VisualElement name="Bottom" class="gamepopup-bottom">
<ui:Button text="确认" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button" class="gamepopup-button" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
+8
View File
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7f481926294f2294d899e8c9c7aefb28
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
+107
View File
@@ -0,0 +1,107 @@
.window {
position: absolute;
top: auto;
left: auto;
width: 350px;
height: 300px;
background-color: rgba(0, 0, 0, 0);
border-radius: 10px;
padding: 20px;
display: flex;
flex-direction: column;
opacity: 1;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
flex-grow: 0;
}
.window-top {
justify-content: space-between;
background-color: rgb(51, 51, 51);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
padding-left: 10px;
height: 40px;
flex-direction: row;
flex-shrink: 1;
flex-grow: 0;
align-items: center;
padding-top: 10px;
padding-right: 10px;
padding-bottom: 10px;
}
.window-title {
font-size: 18px;
color: rgb(236, 240, 241);
margin-bottom: 0;
margin-top: 0;
margin-right: 0;
margin-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
-unity-text-align: middle-left;
}
.window-close-button {
color: rgb(236, 240, 241);
border-radius: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-left-color: rgba(0, 0, 0, 0);
border-right-color: rgba(0, 0, 0, 0);
border-top-color: rgba(0, 0, 0, 0);
border-bottom-color: rgba(0, 0, 0, 0);
height: 25px;
margin-top: 0;
margin-right: 0;
margin-bottom: 0;
margin-left: 0;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
background-image: url("project://database/Assets/UI%20Toolkit/Assets/Icon/Close.png?fileID=2800000&guid=69ff0e4b4da18f744844c41e5ca6fe3e&type=3#Close");
width: 25px;
background-color: rgb(255, 64, 64);
}
.window-close-button:hover {
background-color: rgb(255, 89, 89);
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-left-color: rgb(255, 255, 255);
border-right-color: rgb(255, 255, 255);
border-top-color: rgb(255, 255, 255);
border-bottom-color: rgb(255, 255, 255);
scale: 1.1 1.1;
}
.window-container {
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
background-color: rgb(242, 242, 242);
overflow: hidden;
flex-grow: 1;
}
.window-hidden {
display: none;
opacity: 0;
}
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 71fd1505cc1aa1e4297e4f4534cc0124
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -0,0 +1,10 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" xsi="http://www.w3.org/2001/XMLSchema-instance" engine="UnityEngine.UIElements" editor="UnityEditor.UIElements" noNamespaceSchemaLocation="../../../../UIElementsSchema/UIElements.xsd" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/GameWindow/GameWindow.uss?fileID=7433441132597879392&amp;guid=71fd1505cc1aa1e4297e4f4534cc0124&amp;type=3#GameWindow" />
<ui:VisualElement name="Window" class="window">
<ui:VisualElement name="Top" class="window-top">
<ui:Label text="窗口标题" name="Title" class="window-title" />
<ui:VisualElement name="Close" class="window-close-button" />
</ui:VisualElement>
<ui:VisualElement name="Container" class="window-container" />
</ui:VisualElement>
</ui:UXML>
@@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: f58c5527cf4cda147b239b37b0afcb85
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}