初始化项目

This commit is contained in:
MuHua-123
2024-12-02 17:16:44 +08:00
parent 698464b9d7
commit 0ff284b795
327 changed files with 87 additions and 21751 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

@@ -1,127 +0,0 @@
fileFormatVersion: 2
guid: 9ce769a9c36db7048b884f400edd2560
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: 20, y: 20, z: 20, w: 20}
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: 1537655665
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 2eee6e6e536d2824cb525adc5a93008c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: b8e693aed256f6346aaee9ffcb874004
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Binary file not shown.

Before

Width:  |  Height:  |  Size: 978 B

@@ -1,140 +0,0 @@
fileFormatVersion: 2
guid: 23001e922f1d71f49946b34339ccf042
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: Server
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: Android
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.

Before

Width:  |  Height:  |  Size: 684 B

@@ -1,140 +0,0 @@
fileFormatVersion: 2
guid: f53c4c57412ed954494326cd4d87b60d
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: Server
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: Android
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.

Before

Width:  |  Height:  |  Size: 333 B

@@ -1,140 +0,0 @@
fileFormatVersion: 2
guid: ebdfca490d2460f43b3b82a8e1be6a27
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
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: Server
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: Android
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,8 +0,0 @@
fileFormatVersion: 2
guid: afb06e23176a0de4585e8df9e3229f79
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: e624d91ca566e6c4482ceb658580753d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,59 +0,0 @@
.mp-background {
width: 100%;
height: 100%;
justify-content: flex-end;
background-color: rgb(204, 204, 204);
}
.mp-video-view {
flex-grow: 1;
position: absolute;
width: 100%;
height: 100%;
}
.mp-video-controller {
height: 50px;
width: 100%;
background-color: rgba(0, 0, 0, 0.5);
flex-direction: row;
justify-content: space-between;
}
.mp-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;
}
.mp-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,11 +0,0 @@
fileFormatVersion: 2
guid: a0c230f1cf9b2ef4aae4e8e1025e294a
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -1,129 +0,0 @@
.horizontal-slider {
flex-direction: row;
width: auto;
height: 30px;
flex-grow: 0;
flex-shrink: 1;
align-items: center;
justify-content: space-between;
}
.horizontal-slider-label {
flex-grow: 0;
flex-basis: auto;
flex-shrink: 0;
min-width: 70px;
-unity-text-align: middle-left;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
width: auto;
background-color: rgba(0, 0, 0, 0);
margin-top: 5px;
margin-right: 5px;
margin-bottom: 5px;
margin-left: 5px;
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;
}
.horizontal-slider-background {
height: 10px;
width: 100%;
margin-left: 10px;
margin-right: 10px;
margin-top: 10px;
margin-bottom: 10px;
padding-right: 0;
padding-left: 0;
background-color: rgb(128, 128, 128);
padding-top: 0;
padding-bottom: 0;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-left-color: rgb(51, 51, 51);
border-right-color: rgb(51, 51, 51);
border-top-color: rgb(51, 51, 51);
border-bottom-color: rgb(51, 51, 51);
}
.horizontal-slider-container {
height: 100%;
width: auto;
margin-right: 0;
margin-left: 0;
margin-top: 0;
margin-bottom: 0;
}
.horizontal-slider-tracker {
height: 100%;
background-color: rgb(255, 255, 255);
width: 0;
flex-direction: row;
align-items: center;
justify-content: flex-end;
border-top-left-radius: 3px;
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
border-bottom-left-radius: 3px;
}
.horizontal-slider-dragger {
width: 16px;
height: 16px;
position: absolute;
background-color: rgb(255, 255, 255);
translate: 8px 0;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
border-left-color: rgb(51, 51, 51);
border-right-color: rgb(51, 51, 51);
border-top-color: rgb(51, 51, 51);
border-bottom-color: rgb(51, 51, 51);
}
.horizontal-slider-field {
background-color: rgb(255, 255, 255);
width: 40px;
height: 20px;
flex-grow: 0;
flex-shrink: 0;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
margin-top: 5px;
margin-right: 5px;
margin-bottom: 5px;
margin-left: 5px;
}
.horizontal-slider-field-box {
width: 100%;
height: 100%;
align-items: center;
justify-content: space-around;
}
.horizontal-slider-field-text {
}
@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 0918073926552b342911aa7d8793cb81
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 1a80b2523ebdf0747a824a157c78b065
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,14 +0,0 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/UIComponent/MediaPlayer/MediaPlayer.uss?fileID=7433441132597879392&amp;guid=a0c230f1cf9b2ef4aae4e8e1025e294a&amp;type=3#MediaPlayer" />
<Style src="project://database/Assets/UI%20Toolkit/UIComponent/MediaPlayer/Slider.uss?fileID=7433441132597879392&amp;guid=0918073926552b342911aa7d8793cb81&amp;type=3#Slider" />
<ui:VisualElement name="Background" class="mp-background">
<ui:VisualElement name="VideoView" class="mp-video-view" />
<ui:VisualElement name="VideoController" class="mp-video-controller">
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Play" class="mp-button" style="position: absolute; left: 0; background-image: url(&quot;project://database/Assets/UI%20Toolkit/Assets/MediaPlayer/%E8%A7%86%E9%A2%91%E6%92%AD%E6%94%BE.png?fileID=2800000&amp;guid=f53c4c57412ed954494326cd4d87b60d&amp;type=3#视频播放&quot;);" />
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Pause" class="mp-button" style="position: absolute; left: 0; background-image: url(&quot;project://database/Assets/UI%20Toolkit/Assets/MediaPlayer/%E8%A7%86%E9%A2%91%E6%9A%82%E5%81%9C.png?fileID=2800000&amp;guid=ebdfca490d2460f43b3b82a8e1be6a27&amp;type=3#视频暂停&quot;); display: none;" />
<MuHua.MUSliderHorizontal max-value="1" display-input="false" name="Slider" sliding-value="0.5" style="position: absolute; right: 300px; left: 70px; top: 0; height: 50px;" />
<ui:Label tabindex="-1" text="00:00/00:00" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Time" class="mp-video-time-text" style="position: absolute; right: 70px;" />
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="FullScreen" class="mp-button" style="background-image: url(&quot;project://database/Assets/UI%20Toolkit/Assets/MediaPlayer/%E8%A7%86%E9%A2%91%E5%85%A8%E5%B1%8F.png?fileID=2800000&amp;guid=23001e922f1d71f49946b34339ccf042&amp;type=3#视频全屏&quot;); position: absolute; right: 0;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
@@ -1,10 +0,0 @@
fileFormatVersion: 2
guid: 99ea819e506f222439a20a94b8321e8f
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 669f2b93f810a404ba0447b36869b3f7
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,9 +0,0 @@
.pb-button {
height: 30px;
background-color: rgb(204, 204, 204);
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
margin-top: 2px;
}
@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: b7cc9cc589f43df40b63ccfcb30fdbb7
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -1,13 +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/UIComponent/PlateBaking/PlateBaking.uss?fileID=7433441132597879392&amp;guid=b7cc9cc589f43df40b63ccfcb30fdbb7&amp;type=3#PlateBaking" />
<ui:VisualElement style="flex-grow: 1; overflow: hidden; width: 100%; height: 100%;">
<ui:VisualElement name="Rendering" style="flex-grow: 1;" />
<ui:VisualElement style="position: absolute; height: 162px; width: 40px; left: 10px; top: 10px; background-color: rgb(51, 51, 51); border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px;">
<ui:VisualElement name="Button1" class="pb-button" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; border-top-left-radius: 4px; border-top-right-radius: 4px;" />
<ui:VisualElement name="Button2" class="pb-button" />
<ui:VisualElement name="Button3" class="pb-button" />
<ui:VisualElement name="Button4" class="pb-button" />
<ui:VisualElement name="Button5" class="pb-button" style="border-bottom-right-radius: 4px; border-bottom-left-radius: 4px;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
@@ -1,10 +0,0 @@
fileFormatVersion: 2
guid: 12f5fe5a3d1c9d84593d412f3c44f9e5
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -1,72 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
public class UIPlateBaking {
//public readonly VisualElement element;
//public ModuleViewInput viewInput => ModuleCore.I.PlateBakingViewInput;
//public ModuleViewCamera viewCamera => ModuleCore.I.ViewCameraBaking;
//public VisualElement Rendering => element.Q<VisualElement>("Rendering");
//public Button Button1 => element.Q<Button>("Button1");
//public Button Button2 => element.Q<Button>("Button2");
//public Button Button3 => element.Q<Button>("Button3");
//public Button Button4 => element.Q<Button>("Button4");
//public Button Button5 => element.Q<Button>("Button5");
//public UIPlateBaking(VisualElement element) {
// this.element = element;
// element.generateVisualContent += Element_GenerateVisualContent;
// Rendering.RegisterCallback<MouseDownEvent>(DownMouse);
// Rendering.RegisterCallback<MouseMoveEvent>(DragMouse);
// Rendering.RegisterCallback<MouseUpEvent>(ReleaseMouse);
// Rendering.RegisterCallback<MouseOutEvent>(ReleaseMouse);
// Rendering.RegisterCallback<WheelEvent>(ScrollWheel);
//}
//private void Element_GenerateVisualContent(MeshGenerationContext context) {
// ModuleCore.I.ModuleAgent.StartCoroutine(UpdateRenderTexture());
//}
//private IEnumerator UpdateRenderTexture() {
// yield return null;
// int width = (int)element.resolvedStyle.width;
// int height = (int)element.resolvedStyle.height;
// viewCamera.UpdateRenderTexture(width, height);
// Background background = Background.FromRenderTexture(viewCamera.RenderTexture);
// StyleBackground style = new StyleBackground(background);
// Rendering.style.backgroundImage = style;
//}
//private bool isDownLeftMouse;
//private bool isDownRightMouse;
//private bool isDownMiddleMouse;
//public void DownMouse(MouseDownEvent evt) {
// DataMouseInput mouseInput = new DataMouseInput(evt);
// if (evt.button == 0) { viewInput.DownLeftMouse(mouseInput); isDownLeftMouse = true; }
// if (evt.button == 1) { viewInput.DownRightMouse(mouseInput); isDownRightMouse = true; }
// if (evt.button == 2) { viewInput.DownMiddleMouse(mouseInput); isDownMiddleMouse = true; }
//}
//public void DragMouse(MouseMoveEvent evt) {
// DataMouseInput mouseInput = new DataMouseInput(evt);
// if (isDownLeftMouse) { viewInput.DragLeftMouse(mouseInput); }
// if (isDownRightMouse) { viewInput.DragRightMouse(mouseInput); }
// if (isDownMiddleMouse) { viewInput.DragMiddleMouse(mouseInput); }
// if (evt.button == 0) { viewInput.MoveLeftMouse(mouseInput); }
// if (evt.button == 1) { viewInput.MoveRightMouse(mouseInput); }
// if (evt.button == 2) { viewInput.MoveMiddleMouse(mouseInput); }
//}
//public void ReleaseMouse(MouseUpEvent evt) {
// DataMouseInput mouseInput = new DataMouseInput(evt);
// viewInput.ReleaseLeftMouse(mouseInput); isDownLeftMouse = false;
// viewInput.ReleaseRightMouse(mouseInput); isDownRightMouse = false;
// viewInput.ReleaseMiddleMouse(mouseInput); isDownMiddleMouse = false;
//}
//public void ReleaseMouse(MouseOutEvent evt) {
// DataMouseInput mouseInput = new DataMouseInput(evt);
// viewInput.ReleaseLeftMouse(mouseInput); isDownLeftMouse = false;
// viewInput.ReleaseRightMouse(mouseInput); isDownRightMouse = false;
// viewInput.ReleaseMiddleMouse(mouseInput); isDownMiddleMouse = false;
//}
//public void ScrollWheel(WheelEvent evt) {
// DataMouseInput mouseInput = new DataMouseInput(evt);
// viewInput.ScrollWheel(mouseInput);
//}
}
@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: bcbd4071f1020ce4da59f6aa6aee51ad
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 131e42b2deb90c44faf40f1d99810957
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,17 +0,0 @@
.pd-button {
height: 30px;
background-color: rgb(204, 204, 204);
border-top-left-radius: 0;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
margin-top: 2px;
border-top-width: 0;
border-right-width: 0;
border-bottom-width: 0;
border-left-width: 0;
}
.pd-button-s {
background-color: rgb(0, 235, 255);
}
@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 61655961f50792845ab24ff6cded58d9
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -1,13 +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/UIComponent/PlateDesign/PlateDesign.uss?fileID=7433441132597879392&amp;guid=61655961f50792845ab24ff6cded58d9&amp;type=3#PlateDesign" />
<ui:VisualElement style="flex-grow: 1; width: 100%; height: 100%; overflow: hidden;">
<ui:VisualElement name="Rendering" style="flex-grow: 1;" />
<ui:VisualElement style="position: absolute; height: 162px; width: 40px; left: 10px; top: 10px; background-color: rgb(51, 51, 51); border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px;">
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button1" class="pd-button" style="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-left-radius: 4px; border-top-right-radius: 4px; 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);" />
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button2" class="pd-button" style="padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; border-top-left-radius: 0; border-top-right-radius: 0; 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); margin-top: 2px; margin-right: 0; margin-bottom: 0; margin-left: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 0;" />
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button3" class="pd-button" style="padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; border-top-left-radius: 0; border-top-right-radius: 0; 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); margin-top: 2px; margin-right: 0; margin-bottom: 0; margin-left: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 0;" />
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button4" class="pd-button" style="padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; border-top-left-radius: 0; border-top-right-radius: 0; 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); margin-top: 2px; margin-right: 0; margin-bottom: 0; margin-left: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 0;" />
<ui:Button parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button5" class="pd-button" style="padding-top: 0; padding-right: 0; padding-bottom: 0; padding-left: 0; border-top-left-radius: 0; border-top-right-radius: 0; 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); margin-top: 2px; margin-right: 0; margin-bottom: 0; margin-left: 0; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
@@ -1,10 +0,0 @@
fileFormatVersion: 2
guid: ba059349af6076b40b0e35856489786c
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 5c63c5be481bbfc408f27d84f6ad0fc4
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,24 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
public class TopMenu {
public Action ClickTopMenu1;
public Action ClickTopMenu2;
public readonly VisualElement element;
public VisualElement TopMenu1 => element.Q<VisualElement>("TopMenu1");
public VisualElement TopMenu2 => element.Q<VisualElement>("TopMenu2");
public TopMenu(VisualElement element) {
this.element = element;
TopMenu1.RegisterCallback<ClickEvent>(TopMenu1_ClickEvent);
TopMenu2.RegisterCallback<ClickEvent>(TopMenu2_ClickEvent);
}
private void TopMenu1_ClickEvent(ClickEvent evt) {
ClickTopMenu1?.Invoke();
}
private void TopMenu2_ClickEvent(ClickEvent evt) {
ClickTopMenu2?.Invoke();
}
}
@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 925cd7c3a7a4d624fb742687191f086f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,66 +0,0 @@
.top-menu {
background-image: url("project://database/Assets/UI%20Toolkit/Assets/%E6%8C%89%E9%92%AE%E9%98%B4%E5%BD%B1.png?fileID=2800000&guid=9ce769a9c36db7048b884f400edd2560&type=3#按钮阴影");
width: 130px;
height: 90px;
align-items: center;
justify-content: space-around;
}
.top-menu-bg {
width: 110px;
height: 70px;
background-color: rgb(255, 255, 255);
border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
align-items: center;
justify-content: flex-end;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
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);
}
.top-menu-mask {
width: 100%;
height: 60px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
transition-duration: 0.3s;
justify-content: flex-end;
flex-grow: 0;
flex-shrink: 0;
}
.top-menu-mask:hover {
height: 90px;
}
.top-menu-label {
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: 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: 9px;
border-bottom-left-radius: 9px;
-unity-text-align: middle-center;
width: 100%;
height: 40%;
background-color: rgba(0, 0, 0, 0.3);
font-size: 18px;
}
@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: b7925943dcb7d374181a9db9c7af7481
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -1,40 +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/UIComponent/TopMenu/TopMenu.uss?fileID=7433441132597879392&amp;guid=b7925943dcb7d374181a9db9c7af7481&amp;type=3#TopMenu" />
<ui:VisualElement name="VisualElement" style="flex-direction: row; flex-grow: 1; align-items: center; padding-left: 8px;">
<ui:VisualElement name="TopMenu1" class="top-menu">
<ui:VisualElement name="Top-Menu-BG" class="top-menu-bg">
<ui:VisualElement name="Top-Menu-Mask" class="top-menu-mask">
<ui:Label tabindex="-1" text="工程文件" parse-escape-sequences="true" display-tooltip-when-elided="true" class="top-menu-label" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="TopMenu2" class="top-menu">
<ui:VisualElement name="Top-Menu-BG" class="top-menu-bg">
<ui:VisualElement name="Top-Menu-Mask" class="top-menu-mask">
<ui:Label tabindex="-1" text="预设模板" parse-escape-sequences="true" display-tooltip-when-elided="true" class="top-menu-label" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="TopMenu3" class="top-menu" style="display: none;">
<ui:VisualElement name="Top-Menu-BG" class="top-menu-bg">
<ui:VisualElement name="Top-Menu-Mask" class="top-menu-mask">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" class="top-menu-label" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="TopMenu4" class="top-menu" style="display: none;">
<ui:VisualElement name="Top-Menu-BG" class="top-menu-bg">
<ui:VisualElement name="Top-Menu-Mask" class="top-menu-mask">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" class="top-menu-label" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
<ui:VisualElement name="TopMenu5" class="top-menu" style="display: none;">
<ui:VisualElement name="Top-Menu-BG" class="top-menu-bg">
<ui:VisualElement name="Top-Menu-Mask" class="top-menu-mask">
<ui:Label tabindex="-1" text="Label" parse-escape-sequences="true" display-tooltip-when-elided="true" class="top-menu-label" />
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
@@ -1,10 +0,0 @@
fileFormatVersion: 2
guid: 1740e867b76e16f41ac6871d25bf6317
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 329e098da89084a45998198367945516
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,14 +0,0 @@
.dp-component {
margin-top: 2px;
margin-right: 2px;
margin-bottom: 2px;
margin-left: 2px;
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);
}
@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: c3e08d3b22612584caef632ea8f1c182
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -1,17 +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">
<ui:Template name="TopMenu" src="project://database/Assets/UI%20Toolkit/UIComponent/TopMenu/TopMenu.uxml?fileID=9197481963319205126&amp;guid=1740e867b76e16f41ac6871d25bf6317&amp;type=3#TopMenu" />
<ui:Template name="DesignView" src="project://database/Assets/UI%20Toolkit/UIComponent/PlateDesign/PlateDesign.uxml?fileID=9197481963319205126&amp;guid=ba059349af6076b40b0e35856489786c&amp;type=3#PlateDesign" />
<ui:Template name="PlateBaking" src="project://database/Assets/UI%20Toolkit/UIComponent/PlateBaking/PlateBaking.uxml?fileID=9197481963319205126&amp;guid=12f5fe5a3d1c9d84593d412f3c44f9e5&amp;type=3#PlateBaking" />
<ui:Template name="PresetsPlate" src="project://database/Assets/UI%20Toolkit/UIWindow/PresetsPlate/PresetsPlate.uxml?fileID=9197481963319205126&amp;guid=5c36844e01281c24c8eee91af6feee87&amp;type=3#PresetsPlate" />
<Style src="project://database/Assets/UI%20Toolkit/UIDocument/DesignPage/DesignPage.uss?fileID=7433441132597879392&amp;guid=c3e08d3b22612584caef632ea8f1c182&amp;type=3#DesignPage" />
<ui:VisualElement style="flex-grow: 1; background-color: rgb(204, 204, 204); padding-top: 2px; padding-right: 2px; padding-bottom: 2px; padding-left: 2px;">
<ui:Instance template="TopMenu" name="TopMenu" class="dp-component" style="height: 96px;" />
<ui:VisualElement style="flex-direction: row; width: 100%; height: 100%;">
<ui:VisualElement class="dp-component" style="width: 240px; min-width: 240px;" />
<ui:Instance template="DesignView" name="PlateDesign" class="dp-component" style="width: 100%;" />
<ui:Instance template="PlateBaking" name="PlateBaking" class="dp-component" style="width: 600px; min-width: 600px;" />
</ui:VisualElement>
<ui:VisualElement class="design-bottom dp-component" style="height: 40px;" />
</ui:VisualElement>
<ui:Instance template="PresetsPlate" name="PresetsPlate" style="position: absolute; width: 544px; height: 400px; top: 324px; left: 560px; display: none;" />
</ui:UXML>
@@ -1,10 +0,0 @@
fileFormatVersion: 2
guid: f176a30c50ceffe41958f4fc4b69fc1a
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -1,8 +0,0 @@
fileFormatVersion: 2
guid: 480fd755dcfed1b4180c5a7743753277
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,32 +0,0 @@
.pp-unit {
width: 100px;
height: 60px;
}
.pp-button {
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
background-color: rgb(188, 188, 188);
border-left-color: rgb(149, 149, 149);
border-right-color: rgb(149, 149, 149);
border-top-color: rgb(149, 149, 149);
border-bottom-color: rgb(149, 149, 149);
margin-top: 5px;
margin-right: 5px;
margin-bottom: 5px;
margin-left: 5px;
padding-top: 0;
padding-right: 0;
padding-bottom: 0;
padding-left: 0;
flex-grow: 1;
}
.pp-button:hover {
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);
}
@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 56954ee7ad04e0544988b1d2b52f7a77
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 12385, guid: 0000000000000000e000000000000000, type: 0}
disableValidation: 0
@@ -1,12 +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/UIWindow/PresetsPlate/PresetsPlate.uss?fileID=7433441132597879392&amp;guid=56954ee7ad04e0544988b1d2b52f7a77&amp;type=3#PresetsPlate" />
<ui:VisualElement style="flex-grow: 1; background-image: url(&quot;project://database/Assets/UI%20Toolkit/Assets/%E6%8C%89%E9%92%AE%E9%98%B4%E5%BD%B1.png?fileID=21300000&amp;guid=9ce769a9c36db7048b884f400edd2560&amp;type=3#按钮阴影&quot;);">
<ui:VisualElement style="flex-grow: 1; background-color: rgb(204, 204, 204); margin-top: 15px; margin-right: 15px; margin-bottom: 15px; margin-left: 15px; 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);">
<ui:VisualElement style="width: 100%; height: 35px; background-color: rgb(128, 128, 128); flex-direction: row;">
<ui:Label tabindex="-1" text="预制模板" parse-escape-sequences="true" display-tooltip-when-elided="true" style="-unity-text-align: middle-center; background-color: rgb(204, 204, 204); margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; padding-top: 0; padding-right: 10px; padding-bottom: 0; padding-left: 10px; border-top-left-radius: 5px; border-top-right-radius: 5px; font-size: 18px;" />
<ui:Button text="关闭" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Close" style="position: absolute; top: 0; right: 0; background-color: rgba(0, 0, 0, 0); border-top-width: 0; border-right-width: 0; border-bottom-width: 0; border-left-width: 0; 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%; width: 80px; color: rgb(255, 255, 255); font-size: 18px;" />
</ui:VisualElement>
<ui:VisualElement name="Container" style="flex-grow: 1; width: 100%; height: 100%; flex-direction: row; align-items: flex-start; flex-wrap: wrap; justify-content: flex-start; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px;" />
</ui:VisualElement>
</ui:VisualElement>
</ui:UXML>
@@ -1,10 +0,0 @@
fileFormatVersion: 2
guid: 5c36844e01281c24c8eee91af6feee87
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -1,4 +0,0 @@
<ui:UXML xmlns:ui="UnityEngine.UIElements" xmlns:uie="UnityEditor.UIElements" editor-extension-mode="False">
<Style src="project://database/Assets/UI%20Toolkit/UIWindow/PresetsPlate/PresetsPlate.uss?fileID=7433441132597879392&amp;guid=56954ee7ad04e0544988b1d2b52f7a77&amp;type=3#PresetsPlate" />
<ui:Button text="Button" parse-escape-sequences="true" display-tooltip-when-elided="true" name="Button" class="pp-button" />
</ui:UXML>
@@ -1,10 +0,0 @@
fileFormatVersion: 2
guid: 6c07881a6c4179a4dbd89b86689b3837
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 13804, guid: 0000000000000000e000000000000000, type: 0}
@@ -1,30 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
public class UIPresetsPlate {
public Action ClickClose;
public readonly VisualElement element;
public Button Close => element.Q<Button>("Close");
public VisualElement Container => element.Q<VisualElement>("Container");
public UIPresetsPlate(VisualElement element) {
this.element = element;
Container.Clear();
Close.clicked += Close_Clicked;
}
public void Add(UIPresetsPlateUnit unit) {
Container.Add(unit.element);
unit.element.AddToClassList("pp-unit");
}
public void Add(VisualElement visualElement) {
Container.Add(visualElement);
}
public void Clear() {
Container.Clear();
}
private void Close_Clicked() {
ClickClose?.Invoke();
}
}
@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 31b12dad4121ac74f8072b56fccff8e6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -1,21 +0,0 @@
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UIElements;
public class UIPresetsPlateUnit {
public Action Click;
public readonly VisualElement element;
public readonly DataPlatePresets data;
public Button Button => element.Q<Button>("Button");
public UIPresetsPlateUnit(VisualElement element, DataPlatePresets data) {
this.data = data;
this.element = element;
Button.text = data.name;
Button.clicked += Button_Clicked;
}
private void Button_Clicked() {
Click?.Invoke();
}
}
@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 1b2a4d8284ea1bb4dbf0f18daed5ecef
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: