Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
T
tuseGameColor
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shujianhe
tuseGameColor
Commits
ddb1ff81
Commit
ddb1ff81
authored
Aug 04, 2023
by
shujianhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3e4b7f43
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
924 additions
and
26 deletions
+924
-26
New Universal Render Pipeline Asset.asset
Assets/New Universal Render Pipeline Asset.asset
+109
-0
New Universal Render Pipeline Asset.asset.meta
Assets/New Universal Render Pipeline Asset.asset.meta
+8
-0
New Universal Render Pipeline Asset_Renderer.asset
Assets/New Universal Render Pipeline Asset_Renderer.asset
+63
-0
New Universal Render Pipeline Asset_Renderer.asset.meta
...s/New Universal Render Pipeline Asset_Renderer.asset.meta
+8
-0
backyinying.png
Assets/Resources/commons/background/backyinying.png
+0
-0
backyinying.png.meta
Assets/Resources/commons/background/backyinying.png.meta
+140
-0
autoFillBtn.png
Assets/Resources/commons/foreground/autoFillBtn.png
+0
-0
autoFillBtn.png.meta
Assets/Resources/commons/foreground/autoFillBtn.png.meta
+140
-0
jiantou.png
Assets/Resources/commons/foreground/jiantou.png
+0
-0
jiantou.png.meta
Assets/Resources/commons/foreground/jiantou.png.meta
+140
-0
tipBtnNew.png
Assets/Resources/commons/foreground/tipBtnNew.png
+0
-0
tipBtnNew.png.meta
Assets/Resources/commons/foreground/tipBtnNew.png.meta
+140
-0
UniversalRenderPipelineGlobalSettings.asset
Assets/UniversalRenderPipelineGlobalSettings.asset
+34
-0
UniversalRenderPipelineGlobalSettings.asset.meta
Assets/UniversalRenderPipelineGlobalSettings.asset.meta
+8
-0
NaivtDatas.cs
Assets/scripts/Datas/NaivtDatas.cs
+16
-0
NaivtDatas.cs.meta
Assets/scripts/Datas/NaivtDatas.cs.meta
+11
-0
gameIdJsonData.cs
Assets/scripts/Datas/gameIdJsonData.cs
+12
-0
gameSceneLogic.cs
Assets/scripts/Views/gameScene/gameSceneLogic.cs
+52
-16
mainGameScaleMove.cs
Assets/scripts/common/mainGameScaleMove.cs
+5
-0
mainGameView.cs
Assets/scripts/common/mainGameView.cs
+38
-10
No files found.
Assets/New Universal Render Pipeline Asset.asset
0 → 100644
View file @
ddb1ff81
%YAML
1.1
%TAG
!u!
tag:unity3d.com,2011:
---
!u!114
&11400000
MonoBehaviour
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
0
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
bf2edee5c58d82540a51f03df9d42094
,
type
:
3
}
m_Name
:
New Universal Render Pipeline Asset
m_EditorClassIdentifier
:
k_AssetVersion
:
11
k_AssetPreviousVersion
:
11
m_RendererType
:
1
m_RendererData
:
{
fileID
:
0
}
m_RendererDataList
:
-
{
fileID
:
11400000
,
guid
:
03bd37fe50223674999887d7ebb8a5dd
,
type
:
2
}
m_DefaultRendererIndex
:
0
m_RequireDepthTexture
:
0
m_RequireOpaqueTexture
:
0
m_OpaqueDownsampling
:
1
m_SupportsTerrainHoles
:
1
m_SupportsHDR
:
1
m_HDRColorBufferPrecision
:
0
m_MSAA
:
1
m_RenderScale
:
1
m_UpscalingFilter
:
0
m_FsrOverrideSharpness
:
0
m_FsrSharpness
:
0.92
m_EnableLODCrossFade
:
1
m_LODCrossFadeDitheringType
:
1
m_ShEvalMode
:
0
m_MainLightRenderingMode
:
1
m_MainLightShadowsSupported
:
1
m_MainLightShadowmapResolution
:
2048
m_AdditionalLightsRenderingMode
:
1
m_AdditionalLightsPerObjectLimit
:
4
m_AdditionalLightShadowsSupported
:
0
m_AdditionalLightsShadowmapResolution
:
2048
m_AdditionalLightsShadowResolutionTierLow
:
256
m_AdditionalLightsShadowResolutionTierMedium
:
512
m_AdditionalLightsShadowResolutionTierHigh
:
1024
m_ReflectionProbeBlending
:
0
m_ReflectionProbeBoxProjection
:
0
m_ShadowDistance
:
50
m_ShadowCascadeCount
:
1
m_Cascade2Split
:
0.25
m_Cascade3Split
:
{
x
:
0.1
,
y
:
0.3
}
m_Cascade4Split
:
{
x
:
0.067
,
y
:
0.2
,
z
:
0.467
}
m_CascadeBorder
:
0.2
m_ShadowDepthBias
:
1
m_ShadowNormalBias
:
1
m_AnyShadowsSupported
:
1
m_SoftShadowsSupported
:
0
m_ConservativeEnclosingSphere
:
1
m_NumIterationsEnclosingSphere
:
64
m_SoftShadowQuality
:
2
m_AdditionalLightsCookieResolution
:
2048
m_AdditionalLightsCookieFormat
:
3
m_UseSRPBatcher
:
1
m_SupportsDynamicBatching
:
0
m_MixedLightingSupported
:
1
m_SupportsLightCookies
:
1
m_SupportsLightLayers
:
0
m_DebugLevel
:
0
m_StoreActionsOptimization
:
0
m_EnableRenderGraph
:
0
m_UseAdaptivePerformance
:
1
m_ColorGradingMode
:
0
m_ColorGradingLutSize
:
32
m_UseFastSRGBLinearConversion
:
0
m_ShadowType
:
1
m_LocalShadowsSupported
:
0
m_LocalShadowsAtlasResolution
:
256
m_MaxPixelLights
:
0
m_ShadowAtlasResolution
:
256
m_VolumeFrameworkUpdateMode
:
0
m_Textures
:
blueNoise64LTex
:
{
fileID
:
2800000
,
guid
:
e3d24661c1e055f45a7560c033dbb837
,
type
:
3
}
bayerMatrixTex
:
{
fileID
:
2800000
,
guid
:
f9ee4ed84c1d10c49aabb9b210b0fc44
,
type
:
3
}
m_PrefilteringModeMainLightShadows
:
4
m_PrefilteringModeAdditionalLight
:
4
m_PrefilteringModeAdditionalLightShadows
:
0
m_PrefilterXRKeywords
:
1
m_PrefilteringModeForwardPlus
:
0
m_PrefilteringModeDeferredRendering
:
0
m_PrefilteringModeScreenSpaceOcclusion
:
0
m_PrefilterDebugKeywords
:
1
m_PrefilterWriteRenderingLayers
:
1
m_PrefilterHDROutput
:
1
m_PrefilterSSAODepthNormals
:
1
m_PrefilterSSAOSourceDepthLow
:
1
m_PrefilterSSAOSourceDepthMedium
:
1
m_PrefilterSSAOSourceDepthHigh
:
1
m_PrefilterSSAOInterleaved
:
1
m_PrefilterSSAOBlueNoise
:
1
m_PrefilterSSAOSampleCountLow
:
1
m_PrefilterSSAOSampleCountMedium
:
1
m_PrefilterSSAOSampleCountHigh
:
1
m_PrefilterDBufferMRT1
:
1
m_PrefilterDBufferMRT2
:
1
m_PrefilterDBufferMRT3
:
1
m_PrefilterScreenCoord
:
1
m_PrefilterNativeRenderPass
:
1
m_ShaderVariantLogLevel
:
0
m_ShadowCascades
:
0
Assets/New Universal Render Pipeline Asset.asset.meta
0 → 100644
View file @
ddb1ff81
fileFormatVersion: 2
guid: cd7b086fc7ecdc7429dec692d8d7b35e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
Assets/New Universal Render Pipeline Asset_Renderer.asset
0 → 100644
View file @
ddb1ff81
%YAML
1.1
%TAG
!u!
tag:unity3d.com,2011:
---
!u!114
&11400000
MonoBehaviour
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
0
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
11145981673336645838492a2d98e247
,
type
:
3
}
m_Name
:
New Universal Render Pipeline Asset_Renderer
m_EditorClassIdentifier
:
debugShaders
:
debugReplacementPS
:
{
fileID
:
4800000
,
guid
:
cf852408f2e174538bcd9b7fda1c5ae7
,
type
:
3
}
hdrDebugViewPS
:
{
fileID
:
4800000
,
guid
:
573620ae32aec764abd4d728906d2587
,
type
:
3
}
m_RendererFeatures
:
[]
m_RendererFeatureMap
:
m_UseNativeRenderPass
:
0
m_TransparencySortMode
:
0
m_TransparencySortAxis
:
{
x
:
0
,
y
:
1
,
z
:
0
}
m_HDREmulationScale
:
1
m_LightRenderTextureScale
:
0.5
m_LightBlendStyles
:
-
name
:
Multiply
maskTextureChannel
:
0
blendMode
:
1
-
name
:
Additive
maskTextureChannel
:
0
blendMode
:
0
-
name
:
Multiply with Mask
maskTextureChannel
:
1
blendMode
:
1
-
name
:
Additive with Mask
maskTextureChannel
:
1
blendMode
:
0
m_UseDepthStencilBuffer
:
1
m_UseCameraSortingLayersTexture
:
0
m_CameraSortingLayersTextureBound
:
-1
m_CameraSortingLayerDownsamplingMethod
:
0
m_MaxLightRenderTextureCount
:
16
m_MaxShadowRenderTextureCount
:
1
m_ShapeLightShader
:
{
fileID
:
4800000
,
guid
:
d79e1c784eaf80c4585c0be7391f757a
,
type
:
3
}
m_ShapeLightVolumeShader
:
{
fileID
:
4800000
,
guid
:
7e60080c8cd24a2468cb08b4bfee5606
,
type
:
3
}
m_PointLightShader
:
{
fileID
:
4800000
,
guid
:
e35a31e1679aeff489e202f5cc4853d5
,
type
:
3
}
m_PointLightVolumeShader
:
{
fileID
:
4800000
,
guid
:
c7d04ca57e5449d49ad9cee1c604bc26
,
type
:
3
}
m_CoreBlitShader
:
{
fileID
:
4800000
,
guid
:
93446b5c5339d4f00b85c159e1159b7c
,
type
:
3
}
m_BlitHDROverlay
:
{
fileID
:
4800000
,
guid
:
a89bee29cffa951418fc1e2da94d1959
,
type
:
3
}
m_CoreBlitColorAndDepthPS
:
{
fileID
:
4800000
,
guid
:
d104b2fc1ca6445babb8e90b0758136b
,
type
:
3
}
m_SamplingShader
:
{
fileID
:
4800000
,
guid
:
04c410c9937594faa893a11dceb85f7e
,
type
:
3
}
m_ProjectedShadowShader
:
{
fileID
:
4800000
,
guid
:
ce09d4a80b88c5a4eb9768fab4f1ee00
,
type
:
3
}
m_SpriteShadowShader
:
{
fileID
:
4800000
,
guid
:
44fc62292b65ab04eabcf310e799ccf6
,
type
:
3
}
m_SpriteUnshadowShader
:
{
fileID
:
4800000
,
guid
:
de02b375720b5c445afe83cd483bedf3
,
type
:
3
}
m_GeometryUnshadowShader
:
{
fileID
:
4800000
,
guid
:
77774d9009bb81447b048c907d4c6273
,
type
:
3
}
m_FallbackErrorShader
:
{
fileID
:
4800000
,
guid
:
e6e9a19c3678ded42a3bc431ebef7dbd
,
type
:
3
}
m_PostProcessData
:
{
fileID
:
11400000
,
guid
:
41439944d30ece34e96484bdb6645b55
,
type
:
2
}
m_FallOffLookup
:
{
fileID
:
2800000
,
guid
:
5688ab254e4c0634f8d6c8e0792331ca
,
type
:
3
}
m_DefaultMaterialType
:
0
m_DefaultCustomMaterial
:
{
fileID
:
2100000
,
guid
:
a97c105638bdf8b4a8650670310a4cd3
,
type
:
2
}
m_DefaultLitMaterial
:
{
fileID
:
2100000
,
guid
:
a97c105638bdf8b4a8650670310a4cd3
,
type
:
2
}
m_DefaultUnlitMaterial
:
{
fileID
:
2100000
,
guid
:
9dfc825aed78fcd4ba02077103263b40
,
type
:
2
}
m_DefaultMaskMaterial
:
{
fileID
:
2100000
,
guid
:
15d0c3709176029428a0da2f8cecf0b5
,
type
:
2
}
Assets/New Universal Render Pipeline Asset_Renderer.asset.meta
0 → 100644
View file @
ddb1ff81
fileFormatVersion: 2
guid: 03bd37fe50223674999887d7ebb8a5dd
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
Assets/Resources/commons/background/backyinying.png
0 → 100644
View file @
ddb1ff81
2.48 KB
Assets/Resources/commons/background/backyinying.png.meta
0 → 100644
View file @
ddb1ff81
fileFormatVersion: 2
guid: c24d2a60900d07146b57d3a3082bb957
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: 1
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:
Assets/Resources/commons/foreground/autoFillBtn.png
0 → 100644
View file @
ddb1ff81
1.97 KB
Assets/Resources/commons/foreground/autoFillBtn.png.meta
0 → 100644
View file @
ddb1ff81
fileFormatVersion: 2
guid: b42c4b754bf4ff34d9602087cdab6bf8
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: 1
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:
Assets/Resources/commons/foreground/jiantou.png
0 → 100644
View file @
ddb1ff81
670 Bytes
Assets/Resources/commons/foreground/jiantou.png.meta
0 → 100644
View file @
ddb1ff81
fileFormatVersion: 2
guid: 4ec2fdbdbe26aa441b9263df0ccc6008
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: 1
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:
Assets/Resources/commons/foreground/tipBtnNew.png
0 → 100644
View file @
ddb1ff81
3.31 KB
Assets/Resources/commons/foreground/tipBtnNew.png.meta
0 → 100644
View file @
ddb1ff81
fileFormatVersion: 2
guid: 7b435aa8d785fd44bbb2c0d1e9a24f73
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: 1
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:
Assets/UniversalRenderPipelineGlobalSettings.asset
0 → 100644
View file @
ddb1ff81
%YAML
1.1
%TAG
!u!
tag:unity3d.com,2011:
---
!u!114
&11400000
MonoBehaviour
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
0
}
m_Enabled
:
1
m_EditorHideFlags
:
0
m_Script
:
{
fileID
:
11500000
,
guid
:
2ec995e51a6e251468d2a3fd8a686257
,
type
:
3
}
m_Name
:
UniversalRenderPipelineGlobalSettings
m_EditorClassIdentifier
:
k_AssetVersion
:
3
m_RenderingLayerNames
:
-
Default
m_ValidRenderingLayers
:
1
lightLayerName0
:
lightLayerName1
:
lightLayerName2
:
lightLayerName3
:
lightLayerName4
:
lightLayerName5
:
lightLayerName6
:
lightLayerName7
:
m_StripDebugVariants
:
1
m_StripUnusedPostProcessingVariants
:
0
m_StripUnusedVariants
:
1
m_StripUnusedLODCrossFadeVariants
:
1
m_StripScreenCoordOverrideVariants
:
1
supportRuntimeDebugDisplay
:
0
m_ShaderVariantLogLevel
:
0
m_ExportShaderVariants
:
1
Assets/UniversalRenderPipelineGlobalSettings.asset.meta
0 → 100644
View file @
ddb1ff81
fileFormatVersion: 2
guid: f7f24b38bcf8c4d44b653cc05d43b70d
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
Assets/scripts/Datas/NaivtDatas.cs
0 → 100644
View file @
ddb1ff81
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
Assets.scripts.Datas
{
public
class
GameBackJavaData
{
public
int
schedule
;
public
string
sid
;
public
string
name
;
public
string
path
=
""
;
//暂时空
}
}
Assets/scripts/Datas/NaivtDatas.cs.meta
0 → 100644
View file @
ddb1ff81
fileFormatVersion: 2
guid: 0fc54e1b324b36c448fbc5612c3be6fe
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/scripts/Datas/gameIdJsonData.cs
View file @
ddb1ff81
...
@@ -41,6 +41,18 @@ public class gameIdJsonData
...
@@ -41,6 +41,18 @@ public class gameIdJsonData
}
}
return
-
1
;
return
-
1
;
}
}
public
short
getNextGid
(
short
nowGid
)
{
for
(
int
i
=
0
;
i
<
roomDatas
.
Count
;
i
++)
{
if
(
roomDatas
[
i
].
id
.
Equals
(
nowGid
))
{
if
(
i
==
roomGroupsData
.
Count
-
1
)
return
-
1
;
return
roomGroupsData
[
i
+
1
].
id
;
}
}
return
-
1
;
}
public
gameAreaGroupItem
getRoomGroup
(
short
id
)
public
gameAreaGroupItem
getRoomGroup
(
short
id
)
{
{
for
(
int
i
=
0
;
i
<
roomGroupsData
.
Count
;
i
++)
for
(
int
i
=
0
;
i
<
roomGroupsData
.
Count
;
i
++)
...
...
Assets/scripts/Views/gameScene/gameSceneLogic.cs
View file @
ddb1ff81
...
@@ -250,15 +250,50 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler
...
@@ -250,15 +250,50 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler
utilsTools
.
sendEventObjectParams
(
"inGameLoadingValue"
,
100f
,
true
);
utilsTools
.
sendEventObjectParams
(
"inGameLoadingValue"
,
100f
,
true
);
}
}
}
}
//private bool phoneClickByPos(ref mainGameView mainview,short x,short y,int faulTolerant, bool isFirst)
private
bool
phoneClickByPos
(
ref
mainGameView
mainview
,
short
x
,
short
y
,
short
faulTolerant
,
bool
isFirst
)
//{
{
// int width, height;
int
width
,
height
;
// mainview.getSize(out width,out height);
mainview
.
getSize
(
out
width
,
out
height
);
// if (isFirst)
if
(
isFirst
)
// {
{
// mainview.showAreaByPos(x, y, null);
int
flg
=
mainview
.
showAreaByPos
(
x
,
y
,
null
);
// }
if
(
flg
>
0
)
//}
{
return
true
;
}
else
if
(
flg
<
-
1
)
{
if
(
phoneClickByPos
(
ref
mainview
,
(
short
)(
x
+
faulTolerant
*
1.5
),
y
,
faulTolerant
,
false
))
return
true
;
if
(
phoneClickByPos
(
ref
mainview
,
(
short
)(
x
-
faulTolerant
*
1.5
),
y
,
faulTolerant
,
false
))
return
true
;
if
(
phoneClickByPos
(
ref
mainview
,
x
,
(
short
)(
y
+
faulTolerant
*
1.5
),
faulTolerant
,
false
))
return
true
;
if
(
phoneClickByPos
(
ref
mainview
,
x
,
(
short
)(
y
+
faulTolerant
*
1.5
),
faulTolerant
,
false
))
return
true
;
}
}
short
ystart
=
(
short
)(
0
-
faulTolerant
+
y
);
short
yend
=
(
short
)(
0
-
faulTolerant
+
y
);
if
(
ystart
<
0
)
{
ystart
=
0
;
}
if
(
yend
>
height
)
{
yend
=
(
short
)
height
;
}
for
(
short
x1
=
(
short
)(
0
-
faulTolerant
);
x1
<
faulTolerant
;
x1
+=
2
)
{
short
x2
=
(
short
)(
x
+
x1
);
if
(
x2
<
0
||
x2
>=
width
)
{
continue
;
}
for
(
short
y1
=
ystart
;
y1
<
yend
;
y1
+=
2
)
{
if
(
phoneClickByPos
(
ref
mainview
,
x2
,
y1
,
faulTolerant
,
false
))
return
true
;
}
}
return
false
;
}
private
void
onEvent_gameClickPos_Handler
(
List
<
UnityEngine
.
Object
>
uobjects
,
List
<
System
.
Object
>
objects
)
private
void
onEvent_gameClickPos_Handler
(
List
<
UnityEngine
.
Object
>
uobjects
,
List
<
System
.
Object
>
objects
)
{
{
short
x
=
(
short
)
objects
[
0
];
short
x
=
(
short
)
objects
[
0
];
...
@@ -276,13 +311,14 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler
...
@@ -276,13 +311,14 @@ public class gameSceneLogic : MonoBehaviour, IEventHandler
else
//手机不容易点中
else
//手机不容易点中
{
{
short
faulTolerant
=
12
;
short
faulTolerant
=
12
;
for
(
short
x1
=
(
short
)(
0
-
faulTolerant
);
x1
<
faulTolerant
;
x1
++)
//for(short x1 = (short)(0 - faulTolerant);x1 < faulTolerant; x1++)
{
//{
for
(
short
y1
=
(
short
)(
0
-
faulTolerant
);
y1
<
faulTolerant
;
y1
++)
// for(short y1 = (short)(0- faulTolerant);y1 < faulTolerant; y1++)
{
// {
if
(
maingameView
.
showAreaByPos
((
short
)(
x
+
x1
),
(
short
)(
y
+
y1
),
null
)
==
true
)
return
;
// if(maingameView.showAreaByPos((short)(x+x1), (short)(y+y1), null) > 0) return;
}
// }
}
//}
phoneClickByPos
(
ref
maingameView
,
x
,
y
,
faulTolerant
,
true
);
}
}
}
}
...
...
Assets/scripts/common/mainGameScaleMove.cs
View file @
ddb1ff81
...
@@ -393,6 +393,11 @@ public class mainGameScaleMove : MonoBehaviour
...
@@ -393,6 +393,11 @@ public class mainGameScaleMove : MonoBehaviour
}
}
updateScaleView
();
updateScaleView
();
}
}
public
void
onAutoFillHander
()
{
onResetSizeCenterHandler
();
GetComponent
<
mainGameView
>().
onAutoFillHandler
();
}
public
void
onTipShowPosMaxScale
(
gameAreaItem
areaItem
,
float
width
,
float
height
)
public
void
onTipShowPosMaxScale
(
gameAreaItem
areaItem
,
float
width
,
float
height
)
{
{
nowScale
=
new
Vector2
(
maxScale
,
maxScale
);
nowScale
=
new
Vector2
(
maxScale
,
maxScale
);
...
...
Assets/scripts/common/mainGameView.cs
View file @
ddb1ff81
...
@@ -1026,21 +1026,21 @@ public class mainGameView : MonoBehaviour
...
@@ -1026,21 +1026,21 @@ public class mainGameView : MonoBehaviour
});
});
drawThumbnailByAid
(
new
List
<
short
>()
{
aid
});
drawThumbnailByAid
(
new
List
<
short
>()
{
aid
});
}
}
public
virtual
bool
showAreaByPos
(
short
x
,
short
y
,
OnAreaHandler
showBack
)
public
virtual
int
showAreaByPos
(
short
x
,
short
y
,
OnAreaHandler
showBack
)
{
{
if
(
x
>=
digitMatrix
.
RowCount
||
y
>=
digitMatrix
.
ColumnCount
||
this
.
nowSelectgid
<
0
||
x
<
0
||
y
<
0
)
if
(
x
>=
digitMatrix
.
RowCount
||
y
>=
digitMatrix
.
ColumnCount
||
this
.
nowSelectgid
<
0
||
x
<
0
||
y
<
0
)
{
{
if
(
showBack
!=
null
)
if
(
showBack
!=
null
)
showBack
(-
1
,
false
);
showBack
(-
1
,
false
);
return
false
;
return
-
1
;
}
}
short
oldValue
=
digitMatrix
.
Data
[
x
,
y
];
short
oldValue
=
digitMatrix
.
Data
[
x
,
y
];
if
(
oldValue
<
20
)
if
(
oldValue
<
20
)
{
{
var
aids
=
getDiffAids
();
if
(
showBack
!=
null
)
if
(
showBack
!=
null
)
showBack
(-
1
,
false
);
showBack
(-
1
,
false
);
return
false
;
return
oldValue
.
Equals
(
bianlun
)
?
-
2
:
-
3
;
}
}
short
aid
=
(
short
)(
oldValue
-
20
);
short
aid
=
(
short
)(
oldValue
-
20
);
foreach
(
var
item
in
showAreaAnimationDatas
)
//边界判定 卡顿并且尚未重置中心点时候
foreach
(
var
item
in
showAreaAnimationDatas
)
//边界判定 卡顿并且尚未重置中心点时候
...
@@ -1048,20 +1048,20 @@ public class mainGameView : MonoBehaviour
...
@@ -1048,20 +1048,20 @@ public class mainGameView : MonoBehaviour
if
(
item
.
m_aid
.
Equals
(
aid
))
if
(
item
.
m_aid
.
Equals
(
aid
))
{
{
if
(
showBack
!=
null
)
showBack
(-
1
,
false
);
if
(
showBack
!=
null
)
showBack
(-
1
,
false
);
return
false
;
return
-
3
;
}
}
}
}
var
areaItem
=
gameidJsondata
.
roomDatas
[
aid
];
var
areaItem
=
gameidJsondata
.
roomDatas
[
aid
];
if
(
gameidJsondata
.
getRoomGroup
(
nowSelectgid
).
roomIds
.
IndexOf
(
aid
)
<
0
)
if
(
gameidJsondata
.
getRoomGroup
(
nowSelectgid
).
roomIds
.
IndexOf
(
aid
)
<
0
)
{
{
if
(
showBack
!=
null
)
showBack
(
aid
,
false
);
if
(
showBack
!=
null
)
showBack
(
aid
,
false
);
return
false
;
return
-
4
;
}
}
if
(
areaItem
.
isShow
)
if
(
areaItem
.
isShow
)
{
{
if
(
showBack
!=
null
)
if
(
showBack
!=
null
)
showBack
(-
1
,
false
);
showBack
(-
1
,
false
);
return
false
;
return
-
3
;
}
}
areaItem
.
isShow
=
true
;
areaItem
.
isShow
=
true
;
...
@@ -1112,7 +1112,7 @@ public class mainGameView : MonoBehaviour
...
@@ -1112,7 +1112,7 @@ public class mainGameView : MonoBehaviour
utilsTools
.
sendEventObjectParams
(
"showAreaEventOk"
,
areaItem
,
x
,
y
);
utilsTools
.
sendEventObjectParams
(
"showAreaEventOk"
,
areaItem
,
x
,
y
);
if
(
showBack
!=
null
)
if
(
showBack
!=
null
)
showBack
(
aid
,
true
);
showBack
(
aid
,
true
);
return
true
;
return
1
;
}
}
private
void
Update
()
private
void
Update
()
{
{
...
@@ -1331,9 +1331,37 @@ public class mainGameView : MonoBehaviour
...
@@ -1331,9 +1331,37 @@ public class mainGameView : MonoBehaviour
public
void
debugPos
(
int
x
,
int
y
)
public
void
debugPos
(
int
x
,
int
y
)
{
{
}
}
p
ublic
void
onAutoColor
(
)
p
rivate
short
getIdsByAreaId
(
short
gid
,
short
maxSize
,
ref
List
<
short
>
aids
)
{
{
var
aidpts
=
groupPtInfos
[
gid
];
short
[]
noshowAids
=
aidpts
.
getDataAllKey
(
true
);
if
(
noshowAids
.
Length
>
0
)
{
int
oldSize
=
(
short
)
aids
.
Count
();
for
(
int
i
=
0
;
i
<
noshowAids
.
Count
()
&&
i
<
maxSize
;
i
++)
{
aids
.
Add
(
noshowAids
[
i
]);
}
return
(
short
)(
aids
.
Count
()
-
oldSize
);
}
else
{
return
0
;
}
}
public
virtual
void
onAutoFillHandler
()
{
//恢复尺寸
//锁定输入
utilsTools
.
setGDataByKey
(
"enableZoomMove"
,
false
);
short
gid
=
nowSelectgid
<
0
?
gameidJsondata
.
roomGroupsData
[
0
].
id
:
nowSelectgid
;
List
<
short
>
aids
=
new
List
<
short
>();
do
{
getIdsByAreaId
(
gid
,(
short
)(
20
-
aids
.
Count
),
ref
aids
);
gid
=
gameidJsondata
.
getNextGid
(
gid
);
}
while
(
gid
>
-
1
&&
aids
.
Count
<
20
);
//查找
}
}
public
void
onTipHandler
()
public
void
onTipHandler
()
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment