资源目录调整
@@ -1,34 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: KWS_Stub_Underwater__KWS_USE_CAUSTIC__KWS_USE_HALF_LINE_TENSION__KWS_USE_VOLUMETRIC_LIGHT
|
||||
m_Shader: {fileID: 4800000, guid: 2538f62f88b4cbe43b6950a2315ce503, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
- KWS_USE_CAUSTIC
|
||||
- KWS_USE_HALF_LINE_TENSION
|
||||
- KWS_USE_VOLUMETRIC_LIGHT
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs: []
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- KWS_StencilMaskValue: 32
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 82971a15a637fa54cbd094e77f8856bd
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,38 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: KWS_Stub_WaterCustomMesh__KWS_REFLECT_SUN__KWS_SSR_REFLECTION__KWS_USE_CAUSTIC__KWS_USE_REFRACTION_DISPERS
|
||||
m_Shader: {fileID: 4800000, guid: e2e776d3b3279a14798b747d63cd54c0, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
- KWS_REFLECT_SUN
|
||||
- KWS_SSR_REFLECTION
|
||||
- KWS_USE_CAUSTIC
|
||||
- KWS_USE_REFRACTION_DISPERSION
|
||||
- KWS_USE_REFRACTION_IOR
|
||||
- KWS_USE_VOLUMETRIC_LIGHT
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs: []
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- KWS_StencilMaskValue: 32
|
||||
- srpBatcherFix: 0
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1a91529b75f28db46bafe23dcf390947
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,32 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: KWS_Stub_WaterPrePassCustomMesh__KWS_USE_HALF_LINE_TENSION
|
||||
m_Shader: {fileID: 4800000, guid: 8b77509398ab5834cb8bf0687588b69f, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
- KWS_USE_HALF_LINE_TENSION
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs: []
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- srpBatcherFix: 0
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9f93cf57fa943ed4e865d916180166e6
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,32 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: KWS_Stub_WaterPrePassZoneInstance__KWS_USE_HALF_LINE_TENSION
|
||||
m_Shader: {fileID: 4800000, guid: 122cfe136ad642e4ca7c0884aa039dbd, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
- KWS_USE_HALF_LINE_TENSION
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs: []
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- srpBatcherFix: 0
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
@@ -1,32 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: KWS_Stub_WaterPrePass__KWS_USE_HALF_LINE_TENSION
|
||||
m_Shader: {fileID: 4800000, guid: 18f50750127ff4c459b80b84582197ff, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
- KWS_USE_HALF_LINE_TENSION
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs: []
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- srpBatcherFix: 0
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: adeefb51fde13d94589db8999a8189fb
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,38 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: KWS_Stub_WaterZoneInstance__KWS_REFLECT_SUN__KWS_SSR_REFLECTION__KWS_USE_CAUSTIC__KWS_USE_REFRACTION_DISPERS
|
||||
m_Shader: {fileID: 4800000, guid: da0dbc1d3ef7374489f343ff2a5394bd, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
- KWS_REFLECT_SUN
|
||||
- KWS_SSR_REFLECTION
|
||||
- KWS_USE_CAUSTIC
|
||||
- KWS_USE_REFRACTION_DISPERSION
|
||||
- KWS_USE_REFRACTION_IOR
|
||||
- KWS_USE_VOLUMETRIC_LIGHT
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs: []
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- KWS_StencilMaskValue: 32
|
||||
- srpBatcherFix: 0
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cda637a6993286d449cb0498dc87d98b
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,38 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: KWS_Stub_Water__KWS_REFLECT_SUN__KWS_SSR_REFLECTION__KWS_USE_CAUSTIC__KWS_USE_REFRACTION_DISPERS
|
||||
m_Shader: {fileID: 4800000, guid: 3053b55455b17244e8745591e1aefd6a, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
- KWS_REFLECT_SUN
|
||||
- KWS_SSR_REFLECTION
|
||||
- KWS_USE_CAUSTIC
|
||||
- KWS_USE_REFRACTION_DISPERSION
|
||||
- KWS_USE_REFRACTION_IOR
|
||||
- KWS_USE_VOLUMETRIC_LIGHT
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs: []
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- KWS_StencilMaskValue: 32
|
||||
- srpBatcherFix: 0
|
||||
m_Colors: []
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1d94851b362ff4b4389204b78e04d13c
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/ResRaw/Fgui/CommonNew_atlas0.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
117
Assets/ResRaw/Fgui/CommonNew_atlas0.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5eccfaf76f8ca9348869aedab559ae58
|
||||
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: 0
|
||||
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: 4
|
||||
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: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/ResRaw/Fgui/CommonNew_fui.bytes
Normal file
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 41ded0e14d6a7ef4eb2d2db4c28097c9
|
||||
guid: 6c3278caf91a57144b4cc4b19bfdd6f8
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
|
Before Width: | Height: | Size: 5.1 MiB After Width: | Height: | Size: 5.1 MiB |
@@ -25,7 +25,7 @@ TextureImporter:
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 1
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
@@ -37,9 +37,9 @@ TextureImporter:
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 1
|
||||
wrapU: 0
|
||||
wrapV: 0
|
||||
wrapW: 0
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
@@ -52,7 +52,7 @@ TextureImporter:
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
@@ -62,7 +62,7 @@ TextureImporter:
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 1
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
@@ -73,7 +73,7 @@ TextureImporter:
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 100
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c823611d7631df04bae2221c5a748e92
|
||||
NativeFormatImporter:
|
||||
guid: 00b185a476409184ba51a54aba472db4
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Resources/Fgui/CommonNew/CommonNew_atlas0.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
117
Assets/Resources/Fgui/CommonNew/CommonNew_atlas0.png.meta
Normal file
@@ -0,0 +1,117 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2ed7c6f7e8b523340bbcc13fffb789f3
|
||||
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: 0
|
||||
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: 4
|
||||
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: 4
|
||||
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
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spriteCustomMetadata:
|
||||
entries: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Assets/Resources/Fgui/CommonNew/CommonNew_fui.bytes
Normal file
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b401ffb571c7ebd4d8c84d6d20416f10
|
||||
guid: e348b58e1d5b8bd4da63050b491c6bed
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
@@ -6,7 +6,7 @@ TextureImporter:
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
@@ -52,7 +52,7 @@ TextureImporter:
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
{"TestSuite":"","Date":0,"Player":{"Development":false,"ScreenWidth":0,"ScreenHeight":0,"ScreenRefreshRate":0,"Fullscreen":false,"Vsync":0,"AntiAliasing":0,"Batchmode":false,"RenderThreadingMode":"GraphicsJobs","GpuSkinning":true,"Platform":"","ColorSpace":"","AnisotropicFiltering":"","BlendWeights":"","GraphicsApi":"","ScriptingBackend":"IL2CPP","AndroidTargetSdkVersion":"AndroidApiLevelAuto","AndroidBuildSystem":"Gradle","BuildTarget":"StandaloneWindows64","StereoRenderingPath":"MultiPass"},"Hardware":{"OperatingSystem":"","DeviceModel":"","DeviceName":"","ProcessorType":"","ProcessorCount":0,"GraphicsDeviceName":"","SystemMemorySizeMB":0},"Editor":{"Version":"6000.2.2f1","Branch":"6000.2/staging","Changeset":"ea398eefe1c2","Date":1755652437},"Dependencies":["com.fantasy.unity@2025.2.12","com.unity.2d.sprite@1.0.0","com.unity.ai.navigation@2.0.8","com.unity.burst@1.8.25","com.unity.collab-proxy@2.8.2","com.unity.collections@2.5.7","com.unity.ide.rider@3.0.36","com.unity.ide.visualstudio@2.0.23","com.unity.inputsystem@1.14.2","com.unity.jobs@0.70.0-preview.7","com.unity.mathematics@1.3.2","com.unity.multiplayer.center@1.0.0","com.unity.nuget.newtonsoft-json@3.2.1","com.unity.postprocessing@3.5.0","com.unity.render-pipelines.core@17.2.0","com.unity.render-pipelines.high-definition@17.2.0","com.unity.render-pipelines.universal@17.2.0","com.unity.shadergraph@17.2.0","com.unity.terrain-tools@5.3.0","com.unity.test-framework@1.5.1","com.unity.timeline@1.8.9","com.unity.ugui@2.0.0","com.unity.visualscripting@1.9.7","com.unity.modules.accessibility@1.0.0","com.unity.modules.ai@1.0.0","com.unity.modules.androidjni@1.0.0","com.unity.modules.animation@1.0.0","com.unity.modules.assetbundle@1.0.0","com.unity.modules.audio@1.0.0","com.unity.modules.cloth@1.0.0","com.unity.modules.director@1.0.0","com.unity.modules.imageconversion@1.0.0","com.unity.modules.imgui@1.0.0","com.unity.modules.jsonserialize@1.0.0","com.unity.modules.particlesystem@1.0.0","com.unity.modules.physics@1.0.0","com.unity.modules.physics2d@1.0.0","com.unity.modules.screencapture@1.0.0","com.unity.modules.terrain@1.0.0","com.unity.modules.terrainphysics@1.0.0","com.unity.modules.tilemap@1.0.0","com.unity.modules.ui@1.0.0","com.unity.modules.uielements@1.0.0","com.unity.modules.umbra@1.0.0","com.unity.modules.unityanalytics@1.0.0","com.unity.modules.unitywebrequest@1.0.0","com.unity.modules.unitywebrequestassetbundle@1.0.0","com.unity.modules.unitywebrequestaudio@1.0.0","com.unity.modules.unitywebrequesttexture@1.0.0","com.unity.modules.unitywebrequestwww@1.0.0","com.unity.modules.vehicles@1.0.0","com.unity.modules.video@1.0.0","com.unity.modules.vr@1.0.0","com.unity.modules.wind@1.0.0","com.unity.modules.xr@1.0.0","com.jbooth.microsplat.alpha-hole@3.9.0","com.jbooth.microsplat.anti-tile@3.9.0","com.jbooth.microsplat.core@3.9.0","com.jbooth.microsplat.decal@3.9.0","com.jbooth.microsplat.global-texture@3.9.0","com.jbooth.microsplat.low-poly@3.9.0","com.jbooth.microsplat.mesh-terrain@3.9.0","com.jbooth.microsplat.mesh-workflow@3.9.0","com.jbooth.microsplat.procedural-texture@3.9.0","com.jbooth.microsplat.scatter@3.9.0","com.jbooth.microsplat.snow@3.9.0","com.jbooth.microsplat.streams@3.9.0","com.jbooth.microsplat.terrain-blending@3.9.0","com.jbooth.microsplat.tessellation@3.9.0","com.jbooth.microsplat.texture-clusters@3.9.0","com.jbooth.microsplat.trax@3.9.0","com.jbooth.microsplat.triplanar@3.9.0","com.jbooth.microsplat.wind@3.9.0","com.jbooth.microverse@1.7.0","com.jbooth.microverse.ambiance@1.7.0","com.jbooth.microverse.demo@1.7.0","com.jbooth.microverse.objects@1.7.0","com.jbooth.microverse.roads@1.7.0","com.jbooth.microverse.roads.demo@1.7.0","com.jbooth.microverse.splines@1.7.0","com.jbooth.microverse.vegetation@1.7.0","com.unity.splines@2.8.1","com.unity.modules.subsystems@1.0.0","com.unity.modules.hierarchycore@1.0.0","com.unity.ext.nunit@2.0.5","com.unity.searcher@4.9.3","com.unity.render-pipelines.universal-config@17.0.3","com.unity.visualeffectgraph@17.2.0","com.unity.render-pipelines.high-definition-config@17.2.0","com.unity.rendering.light-transport@1.0.1","com.unity.nuget.mono-cecil@1.11.5","com.unity.test-framework.performance@3.1.0","com.unity.settings-manager@2.1.0"],"Results":[]}
|
||||
@@ -1 +0,0 @@
|
||||
{"MeasurementCount":-1}
|
||||
101
Assets/Scripts/Generate/Config/GoodsConfig.cs
Normal file
@@ -0,0 +1,101 @@
|
||||
using System;
|
||||
using ProtoBuf;
|
||||
using Fantasy;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Concurrent;
|
||||
using NBC;
|
||||
using Fantasy.Serialize;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
[ProtoContract]
|
||||
public sealed partial class GoodsConfig : ASerialize, IConfigTable
|
||||
{
|
||||
|
||||
[ProtoMember(1)]
|
||||
public uint Id { get; set; } // Id
|
||||
[ProtoMember(2)]
|
||||
public uint Type { get; set; } // 子类型
|
||||
[ProtoMember(3)]
|
||||
public uint[] Shop { get; set; } = Array.Empty<uint>(); // 出现商店
|
||||
[ProtoMember(4)]
|
||||
public uint Group { get; set; } // 组
|
||||
[ProtoMember(5)]
|
||||
public uint[] Items { get; set; } = Array.Empty<uint>(); // 物品
|
||||
[ProtoMember(6)]
|
||||
public uint Amount { get; set; } // 获得数量
|
||||
[ProtoMember(7)]
|
||||
public uint Price1 { get; set; } // 银币价格
|
||||
[ProtoMember(8)]
|
||||
public uint Price2 { get; set; } // 金币价格
|
||||
[ProtoMember(9)]
|
||||
public uint[] Label { get; set; } = Array.Empty<uint>(); // 标签
|
||||
[ProtoMember(10)]
|
||||
public uint Number { get; set; } // 可购买数量
|
||||
[ProtoMember(11)]
|
||||
public uint Disable { get; set; } // 禁用状态
|
||||
[ProtoIgnore]
|
||||
public uint Key => Id;
|
||||
|
||||
#region Static
|
||||
|
||||
private static ConfigContext<GoodsConfig> Context => ConfigTableHelper.Table<GoodsConfig>();
|
||||
|
||||
public static GoodsConfig Get(uint key)
|
||||
{
|
||||
return Context.Get(key);
|
||||
}
|
||||
|
||||
public static GoodsConfig Get(Predicate<GoodsConfig> match)
|
||||
{
|
||||
return Context.Get(match);
|
||||
}
|
||||
|
||||
public static GoodsConfig Fist()
|
||||
{
|
||||
return Context.Fist();
|
||||
}
|
||||
|
||||
public static GoodsConfig Last()
|
||||
{
|
||||
return Context.Last();
|
||||
}
|
||||
|
||||
public static GoodsConfig Fist(Predicate<GoodsConfig> match)
|
||||
{
|
||||
return Context.Fist(match);
|
||||
}
|
||||
|
||||
public static GoodsConfig Last(Predicate<GoodsConfig> match)
|
||||
{
|
||||
return Context.Last(match);
|
||||
}
|
||||
|
||||
public static int Count()
|
||||
{
|
||||
return Context.Count();
|
||||
}
|
||||
|
||||
public static int Count(Func<GoodsConfig, bool> predicate)
|
||||
{
|
||||
return Context.Count(predicate);
|
||||
}
|
||||
|
||||
public static List<GoodsConfig> GetList()
|
||||
{
|
||||
return Context.GetList();
|
||||
}
|
||||
|
||||
public static List<GoodsConfig> GetList(Predicate<GoodsConfig> match)
|
||||
{
|
||||
return Context.GetList(match);
|
||||
}
|
||||
public static void ParseJson(Newtonsoft.Json.Linq.JArray arr)
|
||||
{
|
||||
ConfigTableHelper.ParseLine<GoodsConfig>(arr);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/Generate/Config/GoodsConfig.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1db26de84347d9f46ad4b4f07775c91e
|
||||
@@ -257,6 +257,38 @@ namespace Fantasy
|
||||
public int Abrasion { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 商店物品信息
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class ShopItemInfo : AMessage
|
||||
{
|
||||
public static ShopItemInfo Create(Scene scene)
|
||||
{
|
||||
return scene.MessagePoolComponent.Rent<ShopItemInfo>();
|
||||
}
|
||||
public override void Dispose()
|
||||
{
|
||||
ConfigId = default;
|
||||
Price = default;
|
||||
Currency = default;
|
||||
Sort = default;
|
||||
Tag = default;
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<ShopItemInfo>(this);
|
||||
#endif
|
||||
}
|
||||
[ProtoMember(1)]
|
||||
public uint ConfigId { get; set; }
|
||||
[ProtoMember(2)]
|
||||
public uint Price { get; set; }
|
||||
[ProtoMember(3)]
|
||||
public uint Currency { get; set; }
|
||||
[ProtoMember(4)]
|
||||
public uint Sort { get; set; }
|
||||
[ProtoMember(5)]
|
||||
public uint Tag { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// fish信息
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
|
||||
@@ -383,6 +383,55 @@ namespace Fantasy
|
||||
/// /////////// ******** 商店 *******/////////////
|
||||
/// </summary>
|
||||
/// <summary>
|
||||
/// 请求商店商品列表
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class C2Game_GetShopItemsRequest : AMessage, ICustomRouteRequest
|
||||
{
|
||||
public static C2Game_GetShopItemsRequest Create(Scene scene)
|
||||
{
|
||||
return scene.MessagePoolComponent.Rent<C2Game_GetShopItemsRequest>();
|
||||
}
|
||||
public override void Dispose()
|
||||
{
|
||||
Shop = default;
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<C2Game_GetShopItemsRequest>(this);
|
||||
#endif
|
||||
}
|
||||
[ProtoIgnore]
|
||||
public Game2C_GetShopItemsResponse ResponseType { get; set; }
|
||||
public uint OpCode() { return OuterOpcode.C2Game_GetShopItemsRequest; }
|
||||
[ProtoIgnore]
|
||||
public int RouteType => Fantasy.RouteType.GameRoute;
|
||||
[ProtoMember(1)]
|
||||
public uint Shop { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 请求商店商品列表响应
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class Game2C_GetShopItemsResponse : AMessage, ICustomRouteResponse
|
||||
{
|
||||
public static Game2C_GetShopItemsResponse Create(Scene scene)
|
||||
{
|
||||
return scene.MessagePoolComponent.Rent<Game2C_GetShopItemsResponse>();
|
||||
}
|
||||
public override void Dispose()
|
||||
{
|
||||
ErrorCode = default;
|
||||
Items.Clear();
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<Game2C_GetShopItemsResponse>(this);
|
||||
#endif
|
||||
}
|
||||
public uint OpCode() { return OuterOpcode.Game2C_GetShopItemsResponse; }
|
||||
[ProtoMember(1)]
|
||||
public List<ShopItemInfo> Items = new List<ShopItemInfo>();
|
||||
[ProtoMember(2)]
|
||||
public uint ErrorCode { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 请求购买
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
@@ -394,6 +443,7 @@ namespace Fantasy
|
||||
}
|
||||
public override void Dispose()
|
||||
{
|
||||
BuyId = default;
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<C2Game_BuyRequest>(this);
|
||||
#endif
|
||||
@@ -403,6 +453,8 @@ namespace Fantasy
|
||||
public uint OpCode() { return OuterOpcode.C2Game_BuyRequest; }
|
||||
[ProtoIgnore]
|
||||
public int RouteType => Fantasy.RouteType.GameRoute;
|
||||
[ProtoMember(1)]
|
||||
public uint BuyId { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 请求购买响应
|
||||
@@ -417,16 +469,36 @@ namespace Fantasy
|
||||
public override void Dispose()
|
||||
{
|
||||
ErrorCode = default;
|
||||
Awards.Clear();
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<Game2C_BuyResponse>(this);
|
||||
#endif
|
||||
}
|
||||
public uint OpCode() { return OuterOpcode.Game2C_BuyResponse; }
|
||||
[ProtoMember(1)]
|
||||
public List<AwardInfo> Awards = new List<AwardInfo>();
|
||||
[ProtoMember(2)]
|
||||
public uint ErrorCode { get; set; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 活动奖励推送
|
||||
/// </summary>
|
||||
[ProtoContract]
|
||||
public partial class Game2C_RewardNotify : AMessage, ICustomRouteMessage
|
||||
{
|
||||
public static Game2C_RewardNotify Create(Scene scene)
|
||||
{
|
||||
return scene.MessagePoolComponent.Rent<Game2C_RewardNotify>();
|
||||
}
|
||||
public override void Dispose()
|
||||
{
|
||||
Awards.Clear();
|
||||
#if FANTASY_NET || FANTASY_UNITY
|
||||
GetScene().MessagePoolComponent.Return<Game2C_RewardNotify>(this);
|
||||
#endif
|
||||
}
|
||||
public uint OpCode() { return OuterOpcode.Game2C_RewardNotify; }
|
||||
[ProtoIgnore]
|
||||
public int RouteType => Fantasy.RouteType.GameRoute;
|
||||
[ProtoMember(1)]
|
||||
public List<AwardInfo> Awards = new List<AwardInfo>();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -126,6 +126,20 @@ namespace Fantasy
|
||||
return (Game2C_SellFishResponse)await session.Call(request);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static async FTask<Game2C_GetShopItemsResponse> C2Game_GetShopItemsRequest(this Session session, C2Game_GetShopItemsRequest request)
|
||||
{
|
||||
return (Game2C_GetShopItemsResponse)await session.Call(request);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static async FTask<Game2C_GetShopItemsResponse> C2Game_GetShopItemsRequest(this Session session, uint shop)
|
||||
{
|
||||
using var request = Fantasy.C2Game_GetShopItemsRequest.Create(session.Scene);
|
||||
request.Shop = shop;
|
||||
return (Game2C_GetShopItemsResponse)await session.Call(request);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static async FTask<Game2C_GetFishsResponse> C2Game_BuyRequest(this Session session, C2Game_BuyRequest request)
|
||||
{
|
||||
@@ -133,12 +147,27 @@ namespace Fantasy
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static async FTask<Game2C_GetFishsResponse> C2Game_BuyRequest(this Session session)
|
||||
public static async FTask<Game2C_GetFishsResponse> C2Game_BuyRequest(this Session session, uint buyId)
|
||||
{
|
||||
using var request = Fantasy.C2Game_BuyRequest.Create(session.Scene);
|
||||
request.BuyId = buyId;
|
||||
return (Game2C_GetFishsResponse)await session.Call(request);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static void Game2C_RewardNotify(this Session session, Game2C_RewardNotify message)
|
||||
{
|
||||
session.Send(message);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static void Game2C_RewardNotify(this Session session, List<AwardInfo> awards)
|
||||
{
|
||||
using var message = Fantasy.Game2C_RewardNotify.Create(session.Scene);
|
||||
message.Awards = awards;
|
||||
session.Send(message);
|
||||
}
|
||||
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
public static async FTask<Map2C_CreateRoomResponse> C2Map_CreateRoomRequest(this Session session, C2Map_CreateRoomRequest request)
|
||||
{
|
||||
|
||||
@@ -16,63 +16,66 @@ namespace Fantasy
|
||||
public const uint Game2C_FishChange = 2147493650;
|
||||
public const uint C2Game_SellFishRequest = 2281711382;
|
||||
public const uint Game2C_SellFishResponse = 2415929110;
|
||||
public const uint C2Game_BuyRequest = 2281711383;
|
||||
public const uint Game2C_BuyResponse = 2415929111;
|
||||
public const uint C2Map_CreateRoomRequest = 2281711384;
|
||||
public const uint Map2C_CreateRoomResponse = 2415929112;
|
||||
public const uint C2Game_GetShopItemsRequest = 2281711383;
|
||||
public const uint Game2C_GetShopItemsResponse = 2415929111;
|
||||
public const uint C2Game_BuyRequest = 2281711384;
|
||||
public const uint Game2C_BuyResponse = 2415929112;
|
||||
public const uint Game2C_RewardNotify = 2147493651;
|
||||
public const uint C2Map_CreateRoomRequest = 2281711385;
|
||||
public const uint Map2C_CreateRoomResponse = 2415929113;
|
||||
public const uint C2G_ExitRoomRequest = 268445457;
|
||||
public const uint G2C_ExitRoomResponse = 402663185;
|
||||
public const uint C2G_EnterMapRequest = 268445458;
|
||||
public const uint G2C_EnterMapResponse = 402663186;
|
||||
public const uint Map2C_ChangeMap = 2147493651;
|
||||
public const uint Map2C_ChangeMap = 2147493652;
|
||||
public const uint C2A_LoginRequest = 268445459;
|
||||
public const uint A2C_LoginResponse = 402663187;
|
||||
public const uint C2G_LoginRequest = 268445460;
|
||||
public const uint G2C_LoginResponse = 402663188;
|
||||
public const uint G2C_RepeatLogin = 134227729;
|
||||
public const uint C2Game_GetRoleInfoRequest = 2281711385;
|
||||
public const uint Game2C_GetRoleInfoResponse = 2415929113;
|
||||
public const uint Map2C_RoleEnterRoomNotify = 2147493652;
|
||||
public const uint Map2C_RoleExitRoomNotify = 2147493653;
|
||||
public const uint C2Map_RolePropertyChange = 2147493654;
|
||||
public const uint Map2C_RoleStateNotify = 2147493655;
|
||||
public const uint Map2C_RoleGearChangeNotify = 2147493656;
|
||||
public const uint Map2C_RolePropertyChangeNotify = 2147493657;
|
||||
public const uint C2Map_Move = 2147493658;
|
||||
public const uint C2Map_Look = 2147493659;
|
||||
public const uint Map2C_MoveNotify = 2147493660;
|
||||
public const uint Map2C_LookeNotify = 2147493661;
|
||||
public const uint C2S_GetConversationsRequest = 2281711386;
|
||||
public const uint S2C_GetConversationsResponse = 2415929114;
|
||||
public const uint C2S_SendMailRequest = 2281711387;
|
||||
public const uint S2C_SendMailResponse = 2415929115;
|
||||
public const uint C2S_DeleteMailRequest = 2281711388;
|
||||
public const uint S2C_DeleteMailResponse = 2415929116;
|
||||
public const uint S2C_HaveMail = 2147493662;
|
||||
public const uint S2C_MailState = 2147493663;
|
||||
public const uint C2S_CreateChannelRequest = 2281711389;
|
||||
public const uint S2C_CreateChannelResponse = 2415929117;
|
||||
public const uint C2S_JoinChannelRequest = 2281711390;
|
||||
public const uint S2C_JoinChannelResponse = 2415929118;
|
||||
public const uint C2S_SendMessageRequest = 2281711391;
|
||||
public const uint S2C_SendMessageResponse = 2415929119;
|
||||
public const uint S2C_Message = 2147493664;
|
||||
public const uint C2S_CreateClubRequest = 2281711392;
|
||||
public const uint S2C_CreateClubResponse = 2415929120;
|
||||
public const uint C2S_GetClubInfoRequest = 2281711393;
|
||||
public const uint S2C_GetClubInfoResponse = 2415929121;
|
||||
public const uint C2S_GetMemberListRequest = 2281711394;
|
||||
public const uint S2C_GetMemberListResponse = 2415929122;
|
||||
public const uint C2S_GetClubListRequest = 2281711395;
|
||||
public const uint S2C_GetClubListResponse = 2415929123;
|
||||
public const uint C2S_JoinClubRequest = 2281711396;
|
||||
public const uint S2C_JoinClubResponse = 2415929124;
|
||||
public const uint C2S_LeaveClubRequest = 2281711397;
|
||||
public const uint S2C_LeaveClubResponse = 2415929125;
|
||||
public const uint C2S_DissolveClubRequest = 2281711398;
|
||||
public const uint S2C_DissolveClubResponse = 2415929126;
|
||||
public const uint C2S_DisposeJoinRequest = 2281711399;
|
||||
public const uint S2C_DisposeJoinResponse = 2415929127;
|
||||
public const uint S2C_ClubChange = 2147493665;
|
||||
public const uint C2Game_GetRoleInfoRequest = 2281711386;
|
||||
public const uint Game2C_GetRoleInfoResponse = 2415929114;
|
||||
public const uint Map2C_RoleEnterRoomNotify = 2147493653;
|
||||
public const uint Map2C_RoleExitRoomNotify = 2147493654;
|
||||
public const uint C2Map_RolePropertyChange = 2147493655;
|
||||
public const uint Map2C_RoleStateNotify = 2147493656;
|
||||
public const uint Map2C_RoleGearChangeNotify = 2147493657;
|
||||
public const uint Map2C_RolePropertyChangeNotify = 2147493658;
|
||||
public const uint C2Map_Move = 2147493659;
|
||||
public const uint C2Map_Look = 2147493660;
|
||||
public const uint Map2C_MoveNotify = 2147493661;
|
||||
public const uint Map2C_LookeNotify = 2147493662;
|
||||
public const uint C2S_GetConversationsRequest = 2281711387;
|
||||
public const uint S2C_GetConversationsResponse = 2415929115;
|
||||
public const uint C2S_SendMailRequest = 2281711388;
|
||||
public const uint S2C_SendMailResponse = 2415929116;
|
||||
public const uint C2S_DeleteMailRequest = 2281711389;
|
||||
public const uint S2C_DeleteMailResponse = 2415929117;
|
||||
public const uint S2C_HaveMail = 2147493663;
|
||||
public const uint S2C_MailState = 2147493664;
|
||||
public const uint C2S_CreateChannelRequest = 2281711390;
|
||||
public const uint S2C_CreateChannelResponse = 2415929118;
|
||||
public const uint C2S_JoinChannelRequest = 2281711391;
|
||||
public const uint S2C_JoinChannelResponse = 2415929119;
|
||||
public const uint C2S_SendMessageRequest = 2281711392;
|
||||
public const uint S2C_SendMessageResponse = 2415929120;
|
||||
public const uint S2C_Message = 2147493665;
|
||||
public const uint C2S_CreateClubRequest = 2281711393;
|
||||
public const uint S2C_CreateClubResponse = 2415929121;
|
||||
public const uint C2S_GetClubInfoRequest = 2281711394;
|
||||
public const uint S2C_GetClubInfoResponse = 2415929122;
|
||||
public const uint C2S_GetMemberListRequest = 2281711395;
|
||||
public const uint S2C_GetMemberListResponse = 2415929123;
|
||||
public const uint C2S_GetClubListRequest = 2281711396;
|
||||
public const uint S2C_GetClubListResponse = 2415929124;
|
||||
public const uint C2S_JoinClubRequest = 2281711397;
|
||||
public const uint S2C_JoinClubResponse = 2415929125;
|
||||
public const uint C2S_LeaveClubRequest = 2281711398;
|
||||
public const uint S2C_LeaveClubResponse = 2415929126;
|
||||
public const uint C2S_DissolveClubRequest = 2281711399;
|
||||
public const uint S2C_DissolveClubResponse = 2415929127;
|
||||
public const uint C2S_DisposeJoinRequest = 2281711400;
|
||||
public const uint S2C_DisposeJoinResponse = 2415929128;
|
||||
public const uint S2C_ClubChange = 2147493666;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -96,6 +96,7 @@ namespace NBF
|
||||
private void AddUIPackages()
|
||||
{
|
||||
App.UI.AddPackage("Common/Common");
|
||||
App.UI.AddPackage("CommonNew/CommonNew");
|
||||
App.UI.AddPackage("CommonFlag/CommonFlag");
|
||||
App.UI.AddPackage("CommonIcon/CommonIcon");
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace NBF
|
||||
[UIExtensionAutoBind]
|
||||
public static void BindAll()
|
||||
{
|
||||
UIObjectFactory.SetPackageItemExtension(ShopGearItem.URL, typeof(ShopGearItem));
|
||||
UIObjectFactory.SetPackageItemExtension(ShopItem.URL, typeof(ShopItem));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -129,9 +129,9 @@ namespace NBF
|
||||
{
|
||||
var itemData = _listData[index];
|
||||
|
||||
if (itemData is ShopGearData)
|
||||
if (itemData is ShopItemInfo)
|
||||
{
|
||||
return ShopGearItem.URL;
|
||||
return ShopItem.URL;
|
||||
}
|
||||
|
||||
if (itemData is ItemInfo itemInfo)
|
||||
|
||||
28
Assets/Scripts/UI/Common2Binder.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
/**注册组件绑定关系。本脚本为自动生成,每次生成会覆盖!请勿手动修改,生成插件文档及项目地址:https://git.whoot.com/whoot-games/whoot.fguieditorplugin**/
|
||||
|
||||
using FairyGUI;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public static class Common2Binder
|
||||
{
|
||||
[UIExtensionAutoBind]
|
||||
public static void BindAll()
|
||||
{
|
||||
UIObjectFactory.SetPackageItemExtension(SelectPages.URL, typeof(SelectPages));
|
||||
UIObjectFactory.SetPackageItemExtension(BottomMenu.URL, typeof(BottomMenu));
|
||||
UIObjectFactory.SetPackageItemExtension(CommonInput.URL, typeof(CommonInput));
|
||||
UIObjectFactory.SetPackageItemExtension(ClassifyList.URL, typeof(ClassifyList));
|
||||
UIObjectFactory.SetPackageItemExtension(CommonMenu.URL, typeof(CommonMenu));
|
||||
UIObjectFactory.SetPackageItemExtension(MarqueeTag.URL, typeof(MarqueeTag));
|
||||
UIObjectFactory.SetPackageItemExtension(BtnTextInputControl.URL, typeof(BtnTextInputControl));
|
||||
UIObjectFactory.SetPackageItemExtension(CommonItemList.URL, typeof(CommonItemList));
|
||||
UIObjectFactory.SetPackageItemExtension(BtnTitleInputControl.URL, typeof(BtnTitleInputControl));
|
||||
UIObjectFactory.SetPackageItemExtension(NoticeItem.URL, typeof(NoticeItem));
|
||||
UIObjectFactory.SetPackageItemExtension(CommonSubMenu.URL, typeof(CommonSubMenu));
|
||||
UIObjectFactory.SetPackageItemExtension(BtnInputControl.URL, typeof(BtnInputControl));
|
||||
UIObjectFactory.SetPackageItemExtension(ListTitleItem.URL, typeof(ListTitleItem));
|
||||
UIObjectFactory.SetPackageItemExtension(ModelViewer.URL, typeof(ModelViewer));
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/UI/Common2Binder.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1f891cc748e825346b263bab6ed92a69
|
||||
14
Assets/Scripts/UI/CommonNewBinder.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
/**注册组件绑定关系。本脚本为自动生成,每次生成会覆盖!请勿手动修改,生成插件文档及项目地址:https://git.whoot.com/whoot-games/whoot.fguieditorplugin**/
|
||||
|
||||
using FairyGUI;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public static class CommonNewBinder
|
||||
{
|
||||
[UIExtensionAutoBind]
|
||||
public static void BindAll()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/UI/CommonNewBinder.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d63faf326c6305c419050dd92f09a3ba
|
||||
@@ -30,9 +30,9 @@ namespace NBF
|
||||
{
|
||||
await LoginHelper.Login(InputAccount.text);
|
||||
|
||||
BagPanel.Show();
|
||||
// BagPanel.Show();
|
||||
// BagSlotPanel.Show();
|
||||
// FishingShopPanel.Show();
|
||||
FishingShopPanel.Show();
|
||||
|
||||
Del();
|
||||
}
|
||||
|
||||
2
Assets/Scripts/UI/ShopGearItem.Designer.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 92579122ea9d5304082e11a70b36b7e1
|
||||
15
Assets/Scripts/UI/ShopGearItem.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
// 本脚本只在不存在时会生成一次。组件逻辑写在当前脚本内。已存在不会再次生成覆盖
|
||||
|
||||
using UnityEngine;
|
||||
using FairyGUI;
|
||||
using NBC;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public partial class ShopGearItem : GButton
|
||||
{
|
||||
private void OnInited()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
2
Assets/Scripts/UI/ShopGearItem.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d9f9ed6de5b3acd40916c6a8a0aa1b1b
|
||||
@@ -9,11 +9,6 @@ using UIPanel = NBC.UIPanel;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public class ShopGearData
|
||||
{
|
||||
public string title;
|
||||
}
|
||||
|
||||
public partial class FishingShopPanel : UIPanel
|
||||
{
|
||||
protected override void OnInit()
|
||||
@@ -22,33 +17,33 @@ namespace NBF
|
||||
this.AutoAddClick(OnClick);
|
||||
IsShowCursor = true;
|
||||
|
||||
List<TabItemData> tabItemList = new List<TabItemData>();
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
TabItemData tabItem = new TabItemData();
|
||||
tabItem.Key = $"Tab_{i}";
|
||||
for (int j = 0; j < 5; j++)
|
||||
{
|
||||
TabItemData tabSubItem = new TabItemData();
|
||||
tabSubItem.Key = $"SubTab_{j}";
|
||||
var count = Random.Range(2, 5);
|
||||
for (int k = 0; k < count; k++)
|
||||
{
|
||||
var item = new ShopGearData
|
||||
{
|
||||
title = $"Item:{i}-{j}-{k}"
|
||||
};
|
||||
tabSubItem.Items.Add(item);
|
||||
}
|
||||
|
||||
tabItem.Children.Add(tabSubItem);
|
||||
}
|
||||
|
||||
tabItemList.Add(tabItem);
|
||||
}
|
||||
|
||||
ItemList.SetPanel(this);
|
||||
ItemList.SetData(tabItemList, true, true);
|
||||
// List<TabItemData> tabItemList = new List<TabItemData>();
|
||||
// for (int i = 0; i < 10; i++)
|
||||
// {
|
||||
// TabItemData tabItem = new TabItemData();
|
||||
// tabItem.Key = $"Tab_{i}";
|
||||
// for (int j = 0; j < 5; j++)
|
||||
// {
|
||||
// TabItemData tabSubItem = new TabItemData();
|
||||
// tabSubItem.Key = $"SubTab_{j}";
|
||||
// var count = Random.Range(2, 5);
|
||||
// for (int k = 0; k < count; k++)
|
||||
// {
|
||||
// var item = new ShopGearData
|
||||
// {
|
||||
// title = $"Item:{i}-{j}-{k}"
|
||||
// };
|
||||
// tabSubItem.Items.Add(item);
|
||||
// }
|
||||
//
|
||||
// tabItem.Children.Add(tabSubItem);
|
||||
// }
|
||||
//
|
||||
// tabItemList.Add(tabItem);
|
||||
// }
|
||||
//
|
||||
// ItemList.SetPanel(this);
|
||||
// ItemList.SetData(tabItemList, true, true);
|
||||
}
|
||||
|
||||
protected override void OnShow()
|
||||
@@ -65,8 +60,8 @@ namespace NBF
|
||||
|
||||
private void OnClickItem(object item)
|
||||
{
|
||||
if (item is not ShopGearItem shopGearItem) return;
|
||||
Log.Info($"click item ={shopGearItem.GearData.title}");
|
||||
if (item is not ShopItem shopGearItem) return;
|
||||
// Log.Info($"click item ={shopGearItem.GearData.title}");
|
||||
}
|
||||
|
||||
private void OnClick(GComponent btn)
|
||||
|
||||
33
Assets/Scripts/UI/Shops/ShopItem.Designer.cs
generated
Normal file
@@ -0,0 +1,33 @@
|
||||
/**本脚本为自动生成,每次生成会覆盖!请勿手动修改,生成插件文档及项目地址:https://git.whoot.com/whoot-games/whoot.fguieditorplugin**/
|
||||
|
||||
|
||||
using FairyGUI;
|
||||
using FairyGUI.Utils;
|
||||
using NBC;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public partial class ShopItem
|
||||
{
|
||||
public const string URL = "ui://hxr7rc7poome9";
|
||||
|
||||
public GImage back;
|
||||
public GImage Quality;
|
||||
public GTextField TextCoin;
|
||||
public GLoader CoinIcon;
|
||||
public GTextField TextCoin_2;
|
||||
|
||||
public override void ConstructFromXML(XML xml)
|
||||
{
|
||||
base.ConstructFromXML(xml);
|
||||
|
||||
back = (GImage)GetChild("back");
|
||||
Quality = (GImage)GetChild("Quality");
|
||||
TextCoin = (GTextField)GetChild("TextCoin");
|
||||
CoinIcon = (GLoader)GetChild("CoinIcon");
|
||||
TextCoin_2 = (GTextField)GetChild("TextCoin");
|
||||
OnInited();
|
||||
UILanguage.TrySetComponentLanguage(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -6,18 +6,18 @@ using NBC;
|
||||
|
||||
namespace NBF
|
||||
{
|
||||
public partial class ShopGearItem : ListItemBase
|
||||
public partial class ShopItem : ListItemBase
|
||||
{
|
||||
public ShopGearData GearData;
|
||||
// public ShopGearData GearData;
|
||||
private void OnInited()
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnSetData(object showData)
|
||||
{
|
||||
GearData = showData as ShopGearData;
|
||||
if(GearData == null) return;
|
||||
title = GearData.title;
|
||||
// GearData = showData as ShopGearData;
|
||||
// if(GearData == null) return;
|
||||
// title = GearData.title;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -44,8 +44,6 @@
|
||||
<image id="o0hzfc" name="Square - Stroke 4px.png" path="/Images/Shapes/Square/" exported="true" scale="9grid" scale9grid="10,11,236,233"/>
|
||||
<image id="o0hzfd" name="Square - Stroke 8px.png" path="/Images/Shapes/Square/" exported="true" scale="9grid" scale9grid="16,14,227,229"/>
|
||||
<image id="cvcwfe" name="Square_1.png" path="/Images/Shapes/Square/" exported="true" scale="9grid" scale9grid="1,1,2,2"/>
|
||||
<image id="jgrjff" name="Loading_2.png" path="/Images/" exported="true"/>
|
||||
<image id="jgrjfg" name="Loading_1.png" path="/Images/" exported="true"/>
|
||||
<image id="tmu81f" name="暴雨.png" path="/Icon/天气/" exported="true"/>
|
||||
<image id="tmu819" name="大风.png" path="/Icon/天气/" exported="true"/>
|
||||
<image id="tmu81c" name="大雾白天.png" path="/Icon/天气/" exported="true"/>
|
||||
|
||||
10
FGUIProject/assets/CommonNew/Com/LoadingTag.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component size="64,64" extention="Label">
|
||||
<displayList>
|
||||
<image id="n38_nogy" name="n38" src="jgrjfg" fileName="Images/Loading_1.png" xy="32,32" pivot="0.5,0.5" anchor="true"/>
|
||||
<text id="n39_nogy" name="title" xy="-31,66" pivot="0.5,0.5" size="127,35" fontSize="25" color="#ffffff" align="center" vAlign="middle" text="Loading..."/>
|
||||
</displayList>
|
||||
<transition name="t0" autoPlay="true" autoPlayRepeat="-1">
|
||||
<item time="0" type="Rotation" target="n38_nogy" tween="true" startValue="0" endValue="360" duration="48" ease="Linear"/>
|
||||
</transition>
|
||||
</component>
|
||||
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 797 B After Width: | Height: | Size: 797 B |
9
FGUIProject/assets/CommonNew/package.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packageDescription id="xo76q8wz">
|
||||
<resources>
|
||||
<image id="jgrjfg" name="Loading_1.png" path="/Images/" exported="true"/>
|
||||
<image id="jgrjff" name="Loading_2.png" path="/Images/" exported="true"/>
|
||||
<component id="nogy0" name="LoadingTag.xml" path="/Com/" exported="true"/>
|
||||
</resources>
|
||||
<publish name="" path="../Assets/Resources/Fgui/CommonNew" packageCount="2" genCode="true"/>
|
||||
</packageDescription>
|
||||
@@ -13,5 +13,6 @@
|
||||
<component id="n37_10h9m" name="ItemList" src="p1fps" fileName="Com/List/CommonItemList.xml" pkg="6hgkvlau" xy="0,0">
|
||||
<relation target="" sidePair="left-left,top-top,rightext-right,bottomext-bottom"/>
|
||||
</component>
|
||||
<component id="n40_nogy" name="n40" src="nogy0" fileName="Com/LoadingTag.xml" pkg="xo76q8wz" xy="928,508"/>
|
||||
</displayList>
|
||||
</component>
|
||||
@@ -4,7 +4,7 @@
|
||||
QualitySettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 5
|
||||
m_CurrentQuality: 1
|
||||
m_CurrentQuality: 2
|
||||
m_QualitySettings:
|
||||
- serializedVersion: 5
|
||||
name: Low
|
||||
|
||||