Merge branch 'feature/1.7.0' of bitbucket.org:usaya/popcorn into feature/1.7.0

This commit is contained in:
koya_15 2022-11-01 14:44:37 +09:00
commit 673638aa8a
18 changed files with 151 additions and 648 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -1,98 +0,0 @@
fileFormatVersion: 2
guid: cbadd850aec184a1c8ac39250ecb48d9
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
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
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 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
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

View File

@ -1,98 +0,0 @@
fileFormatVersion: 2
guid: dd73e59c297244b1fb121585efa7760c
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
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
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 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
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@ -1,98 +0,0 @@
fileFormatVersion: 2
guid: b0a937d312ed045ec815fe7c8abfdd7d
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
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
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 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
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -1,98 +0,0 @@
fileFormatVersion: 2
guid: 8e9878be823e441a2a0498556548e733
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
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
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 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
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

View File

@ -1,98 +0,0 @@
fileFormatVersion: 2
guid: 7b7d875a8637a40498028ca225e3c51b
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
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
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 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
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1 +1 @@
fadS92OZIWUhQUV2cAuyNplZVy4iaSIfWHmVjyXvJR3NzqbvoAFiknqw+I3dVoFm
yHg9s/3fxnNNZACgYTVbo49VBpkQgUTR6aWo/YVQ6I1pByHLuPfgts9kGlxixO9A

View File

@ -1 +1 @@
J601qEbVRz3mbd9/nbDK0GM8oOIknURBDhEOmoLgRog44WRJDcyC3EANCGGhYfrSRP1kA6z4pE09YsiNgGxss182G9ILOn7t64K2yy2no2aPmTZKqcyo0zm/exMX1IMXu3Avu9LW46vtZVPOr8z4YJC+NH8gEgOTX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cWhPYry4HaVUnrvRwLx9b3Kmf9WLWWS/BDA5HEDBT0Ou9ADP6nEgMKOSO5Jj/ux4dEWR3zG7GzqOvXDXKe7sNlxgJRCwMbM3LZgVp88JjxS7mVbaaR0auwIBQ21A3lYaR/TLQ0lXmWJ6DItclAD31rPcTQYd5sZpaVqJ9tdwhK5WBR7UiXRYvAR8+7W+KnQmBBHnHDHZnWOHP9w+y8lbVRZMgbZo1dyhWF63z1ZIW6UXYmSQ3UPVsLEQ/RCsM4E5PDtFCN2n5zKbfwZAUQpyUI489CEM4tnddHRtz+Suuw3FSdp830DufJy8r46/fWwLY15nUuiyCLIAQ2zxtjClcO6wjo2INyme5w+PPI4eLyb1Db3fA9d4ykyUKg1iNaED7u7g4tDvxnVwnZu7CovBceAzosFXLK7/Wr0pmw8l/XTCs3WstbIkmpo7AstfID2UnOerSwFl/1yWZQc09Xzcmz5DC4+iJyuEF+S7on1RGWCnZaF5FDxGwRRX7NWLGmoK/61LVpDFDyOXFPERkwq6t3plAoFyoof/y0PHu3Qd9Kv6Gk9/xMRHf2YrJe99qhy1Qd0WOugij/n4Ey7FzWJBcRJrRuWuXud0NeMyAe9xakOuzMDtOKEbvyeWMnpYuvaTbWoTqKqr8Ovi8N

View File

@ -1,84 +1,79 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &511223197364446445
--- !u!1001 &1076860577665240353
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 5036600026252147965}
m_Modifications:
- target: {fileID: 7320563079046373316, guid: d12c1f45710fc40deaae110e6bf90a34,
- target: {fileID: 7320563079046373316, guid: 3eb70ea30ec3b4054a50927bf5afc85d,
type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7320563079046373316, guid: d12c1f45710fc40deaae110e6bf90a34,
- target: {fileID: 7320563079046373316, guid: 3eb70ea30ec3b4054a50927bf5afc85d,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7320563079046373316, guid: d12c1f45710fc40deaae110e6bf90a34,
- target: {fileID: 7320563079046373316, guid: 3eb70ea30ec3b4054a50927bf5afc85d,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7320563079046373316, guid: d12c1f45710fc40deaae110e6bf90a34,
- target: {fileID: 7320563079046373316, guid: 3eb70ea30ec3b4054a50927bf5afc85d,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7320563079046373316, guid: d12c1f45710fc40deaae110e6bf90a34,
- target: {fileID: 7320563079046373316, guid: 3eb70ea30ec3b4054a50927bf5afc85d,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7320563079046373316, guid: d12c1f45710fc40deaae110e6bf90a34,
- target: {fileID: 7320563079046373316, guid: 3eb70ea30ec3b4054a50927bf5afc85d,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7320563079046373316, guid: d12c1f45710fc40deaae110e6bf90a34,
- target: {fileID: 7320563079046373316, guid: 3eb70ea30ec3b4054a50927bf5afc85d,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7320563079046373316, guid: d12c1f45710fc40deaae110e6bf90a34,
- target: {fileID: 7320563079046373316, guid: 3eb70ea30ec3b4054a50927bf5afc85d,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7320563079046373316, guid: d12c1f45710fc40deaae110e6bf90a34,
- target: {fileID: 7320563079046373316, guid: 3eb70ea30ec3b4054a50927bf5afc85d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7320563079046373316, guid: d12c1f45710fc40deaae110e6bf90a34,
- target: {fileID: 7320563079046373316, guid: 3eb70ea30ec3b4054a50927bf5afc85d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7320563079046373316, guid: d12c1f45710fc40deaae110e6bf90a34,
- target: {fileID: 7320563079046373316, guid: 3eb70ea30ec3b4054a50927bf5afc85d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7320563079046373319, guid: d12c1f45710fc40deaae110e6bf90a34,
- target: {fileID: 7320563079046373319, guid: 3eb70ea30ec3b4054a50927bf5afc85d,
type: 3}
propertyPath: m_Name
value: material_SoySauce
objectReference: {fileID: 0}
- target: {fileID: 7320563079046373319, guid: d12c1f45710fc40deaae110e6bf90a34,
type: 3}
propertyPath: m_IsActive
value: 1
value: material_Apple
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: d12c1f45710fc40deaae110e6bf90a34, type: 3}
--- !u!95 &7102149809850481495 stripped
m_SourcePrefab: {fileID: 100100000, guid: 3eb70ea30ec3b4054a50927bf5afc85d, type: 3}
--- !u!95 &7738903422182478491 stripped
Animator:
m_CorrespondingSourceObject: {fileID: 7320563079046373306, guid: d12c1f45710fc40deaae110e6bf90a34,
m_CorrespondingSourceObject: {fileID: 7320563079046373306, guid: 3eb70ea30ec3b4054a50927bf5afc85d,
type: 3}
m_PrefabInstance: {fileID: 511223197364446445}
m_PrefabInstance: {fileID: 1076860577665240353}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &7218845196277846121
PrefabInstance:
@ -161,13 +156,13 @@ PrefabInstance:
type: 3}
propertyPath: toppingSprite
value:
objectReference: {fileID: 21300000, guid: 8e9878be823e441a2a0498556548e733,
objectReference: {fileID: 21300000, guid: f3515ce70d11e7444adc793bd87ccef4,
type: 3}
- target: {fileID: 2435291247113825431, guid: 328bd0a0e24fb40119f24fb2007b941e,
type: 3}
propertyPath: toppingAnimators.Array.data[0]
value:
objectReference: {fileID: 7102149809850481495}
objectReference: {fileID: 7738903422182478491}
- target: {fileID: 2990417425342172831, guid: 328bd0a0e24fb40119f24fb2007b941e,
type: 3}
propertyPath: m_IsActive

View File

@ -610,6 +610,38 @@ Transform:
m_Father: {fileID: 1501215306}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &169101453
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 169101454}
m_Layer: 0
m_Name: HouseTarget
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &169101454
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 169101453}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 6553501872873945362}
m_Father: {fileID: 1989990598}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &189803525
GameObject:
m_ObjectHideFlags: 0
@ -2879,7 +2911,6 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 645963151}
- component: {fileID: 645963153}
- component: {fileID: 645963152}
m_Layer: 0
m_Name: background_fever
@ -2917,59 +2948,7 @@ SortingGroup:
m_Enabled: 1
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: -5
--- !u!212 &645963153
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 645963150}
m_Enabled: 1
m_CastShadows: 0
m_ReceiveShadows: 0
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 0
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 1
m_SelectedEditorRenderState: 0
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 1
m_Sprite: {fileID: 21300000, guid: 6665bcb5988d9aa488b54cfb534809d7, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 17.66, y: 22.08039}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
m_SortingOrder: -7
--- !u!1 &665770084
GameObject:
m_ObjectHideFlags: 0
@ -3190,6 +3169,7 @@ MonoBehaviour:
counterView: {fileID: 1507187603938887411}
additionView: {fileID: 347092272}
animationTarget: {fileID: 1881129199}
cityBackGroundTarget: {fileID: 169101454}
plantLines:
- {fileID: 1656378502}
- {fileID: 1192216301}
@ -5350,6 +5330,7 @@ GameObject:
m_Component:
- component: {fileID: 1381520041}
- component: {fileID: 1381520042}
- component: {fileID: 1381520043}
m_Layer: 0
m_Name: Cloud
m_TagString: Untagged
@ -5397,6 +5378,17 @@ Animator:
m_HasTransformHierarchy: 1
m_AllowConstantClipSamplingOptimization: 1
m_KeepAnimatorControllerStateOnDisable: 0
--- !u!210 &1381520043
SortingGroup:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1381520040}
m_Enabled: 1
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: -8
--- !u!1 &1406886287
GameObject:
m_ObjectHideFlags: 0
@ -17012,7 +17004,6 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 1989990598}
- component: {fileID: 1989990600}
m_Layer: 0
m_Name: background
m_TagString: Untagged
@ -17034,23 +17025,12 @@ Transform:
m_Children:
- {fileID: 1164585268}
- {fileID: 1381520041}
- {fileID: 6553501872873945362}
- {fileID: 169101454}
- {fileID: 1091047776}
- {fileID: 120504944}
m_Father: {fileID: 1501215306}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!210 &1989990600
SortingGroup:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1989990597}
m_Enabled: 1
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: -10
--- !u!1 &1993403389
GameObject:
m_ObjectHideFlags: 0
@ -18275,7 +18255,7 @@ PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1989990598}
m_TransformParent: {fileID: 169101454}
m_Modifications:
- target: {fileID: 475787842800321855, guid: ef7bca0ec048ab64b86804eb007385c4,
type: 3}
@ -18290,7 +18270,7 @@ PrefabInstance:
- target: {fileID: 3177023301897836689, guid: ef7bca0ec048ab64b86804eb007385c4,
type: 3}
propertyPath: m_RootOrder
value: 2
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3177023301897836689, guid: ef7bca0ec048ab64b86804eb007385c4,
type: 3}
@ -18342,6 +18322,11 @@ PrefabInstance:
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6553501873066179743, guid: ef7bca0ec048ab64b86804eb007385c4,
type: 3}
propertyPath: m_IsActive
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: ef7bca0ec048ab64b86804eb007385c4, type: 3}
--- !u!4 &6553501872873945362 stripped

View File

@ -38,6 +38,7 @@ public class CornField : MonoBehaviour
[SerializeField] private HarvestedCounterView counterView;
[SerializeField] private HarvestedAdditionView additionView;
[SerializeField] private Transform animationTarget;
[SerializeField] private Transform cityBackGroundTarget;
[Space]
[SerializeField] private List<PlantLine> plantLines = new List<PlantLine>();
[Space]
@ -71,6 +72,12 @@ public class CornField : MonoBehaviour
var globalGameData = GameDataManager.GameData;
var cityGameData = GameDataManager.GetCurrentCityGameData();
// 背景
var cityDataList = SpreadsheetDataManager.Instance.GetBaseDataList<CityData>(Const.CityDataSheet);
var cityData = cityDataList.First(data => data.id == GameDataManager.GameData.CurrentCityId);
cityBackGroundTarget.DestroyAllChildrens();
Instantiate(cityData.GetCornFieldBgPrefab(), cityBackGroundTarget);
if (!globalGameData.FinishedFlags.HasFlag(TutorialFlag.CornField))
{
promoteGrowthButton.gameObject.SetActive(false);

View File

@ -47,11 +47,11 @@ public class DebugOptionManager : MonoBehaviour
[SerializeField] private Dropdown shopLevelDropdown;
[SerializeField] private Dropdown bulkOrderDropdown;
[SerializeField] private Dropdown autoCookDropdown;
private readonly GameData globalGameData = GameDataManager.GameData;
#if UNITY_EDITOR || DEVELOPMENT_BUILD
// Start is called before the first frame update
void Start()
{
var gameData = GameDataManager.GameData;
WorldMarketManager.Instance.IsPause.Value = true;
if (!LocalCacheManager.Exists(DebugPrevSceneTag))
@ -82,28 +82,28 @@ public class DebugOptionManager : MonoBehaviour
resetFieldButton.OnClickAsObservable().Subscribe(_ =>
{
gameData.PlantLineDataList = new List<PlantLineData>
globalGameData.PlantLineDataList = new List<PlantLineData>
{
new PlantLineData(PlantLineType.Center, CornFieldRank.Rank1),
};
gameData.SeedlingDataList = new List<SeedlingProgressData>();
gameData.MachineLevel = 1;
gameData.CornSeed = 0;
globalGameData.SeedlingDataList = new List<SeedlingProgressData>();
globalGameData.MachineLevel = 1;
globalGameData.CornSeed = 0;
}).AddTo(this);
resetMaterialButton.OnClickAsObservable().Subscribe(_ =>
{
// 所持素材
gameData.Material.Clear();
globalGameData.Material.Clear();
// レシピ
gameData.MyRecipes = GetMyRecipe(gameData.ViewedShopLevel, true);
globalGameData.MyRecipes = GetMyRecipe(globalGameData.ViewedShopLevel, true);
// フライパン
gameData.Pans = new[] { Const.DefaultPanId };
globalGameData.Pans = new[] { Const.DefaultPanId };
}).AddTo(this);
resetTankButton.OnClickAsObservable().Subscribe(_ =>
{
gameData.InitTank();
globalGameData.InitTank();
}).AddTo(this);
refillManyProductButton.OnClickAsObservable().Subscribe(_ =>
@ -116,11 +116,11 @@ public class DebugOptionManager : MonoBehaviour
// CookingResult.AddStock(new ProductData(){volume = 5, id = 1}, ProductRarity.Gold);
// CookingResult.AddStock(new ProductData(){volume = 5, id = 1}, ProductRarity.Rainbow);
// CookingResult.AddStock(new ProductData(){volume = 20, id = 2}, ProductRarity.Silver);
if (gameData.StorageTanks.Count < 2)
if (globalGameData.StorageTanks.Count < 2)
{
gameData.StorageTanks.Add(new StorageTank(){Capacity = Const.TankCapacity});
globalGameData.StorageTanks.Add(new StorageTank(){Capacity = Const.TankCapacity});
}
var flavor = gameData.StorageTanks[0].FlavorId;
var flavor = globalGameData.StorageTanks[0].FlavorId;
if (flavor < 1)
{
flavor = 1;
@ -135,17 +135,17 @@ public class DebugOptionManager : MonoBehaviour
refillLittleProductButton.OnClickAsObservable().Subscribe(_ =>
{
gameData.StorageTanks.ForEach(x => x.ClearStock());
globalGameData.StorageTanks.ForEach(x => x.ClearStock());
// CookingResult.AddStock(new ProductData(){volume = 5, id = 1}, ProductRarity.Yellow);
CookingResult.AddStock(new ProductData(){volume = 3, id = 2}, ProductRarity.Copper);
}).AddTo(this);
bulkOrderResetButton.OnClickAsObservable().Subscribe(_ =>
{
gameData.AchievedOrderLevel = 0;
gameData.OrderIdInProgress = 0;
gameData.CancelOrderId = 0;
gameData.CompletedProductList.Clear();
globalGameData.AchievedOrderLevel = 0;
globalGameData.OrderIdInProgress = 0;
globalGameData.CancelOrderId = 0;
globalGameData.CompletedProductList.Clear();
}).AddTo(this);
shopLevelUpResetButton.OnClickAsObservable().Subscribe(_ =>
@ -155,41 +155,41 @@ public class DebugOptionManager : MonoBehaviour
dailyMissionResetButton.OnClickAsObservable().Subscribe(_ =>
{
gameData.lastDailyMissionSetTime = DateTime.MinValue.ToBinary();
globalGameData.lastDailyMissionSetTime = DateTime.MinValue.ToBinary();
}).AddTo(this);
dailyMissionCompleteButton.OnClickAsObservable().Subscribe(_ =>
{
gameData.dailyMissionAchievedIdArray = gameData.dailyMissionIdArray;
gameData.dailyMissionCompleted = false;
globalGameData.dailyMissionAchievedIdArray = globalGameData.dailyMissionIdArray;
globalGameData.dailyMissionCompleted = false;
}).AddTo(this);
normalMissionResetButton.OnClickAsObservable().Subscribe(_ =>
{
gameData.AchievedMission.Clear();
gameData.ResetNormalTotalCount();
globalGameData.AchievedMission.Clear();
globalGameData.ResetNormalTotalCount();
}).AddTo(this);
autoCookCompleteButton.OnClickAsObservable().Subscribe(_ =>
{
gameData.AutoCookFinishTime = DateTime.UtcNow.ToBinary();
globalGameData.AutoCookFinishTime = DateTime.UtcNow.ToBinary();
}).AddTo(this);
shopRecipeCompleteButton.OnClickAsObservable().Subscribe(_ =>
{
var shopDataList = SpreadsheetDataManager.Instance.GetBaseDataList<ShopData>(Const.ShopDataSheet);
var ownedRecipesList = shopDataList.Where(data => data.Category == ItemCategory.Recipe).Select(data => data.itemId).ToList();
gameData.MyRecipes = gameData.MyRecipes.Union(ownedRecipesList).ToArray();
globalGameData.MyRecipes = globalGameData.MyRecipes.Union(ownedRecipesList).ToArray();
}).AddTo(this);
resetShopCustomizeButton.OnClickAsObservable().Subscribe(_ =>
{
gameData.FinishedFlags &= ~TutorialFlag.ShopCustomize;
gameData.ShopCustomizeLevel = 1;
gameData.ShopCustomizePoint = 0;
gameData.ShopCustomizeCoin = 0;
gameData.ShopCustomizeSettings = new ShopCustomizeSettings();
gameData.ShopCustomizeMyItems = new[]
globalGameData.FinishedFlags &= ~TutorialFlag.ShopCustomize;
globalGameData.ShopCustomizeLevel = 1;
globalGameData.ShopCustomizePoint = 0;
globalGameData.ShopCustomizeCoin = 0;
globalGameData.ShopCustomizeSettings = new ShopCustomizeSettings();
globalGameData.ShopCustomizeMyItems = new[]
{
Const.ShopCustomizeDefaultCartId,
Const.ShopCustomizeDefaultDecoration1Id,
@ -205,9 +205,9 @@ public class DebugOptionManager : MonoBehaviour
var shopCustomizeLevelList = SpreadsheetDataManager.Instance.GetBaseDataList<ShopCustomizeLevelData>(Const.ShopCustomizeLevelDataSheet);
var maxLevelData = shopCustomizeLevelList.Last();
gameData.ShopCustomizeLevel = maxLevelData.level;
gameData.ShopCustomizePoint = maxLevelData.point;
gameData.ShopCustomizeMyItems = gameData.ShopCustomizeMyItems
globalGameData.ShopCustomizeLevel = maxLevelData.level;
globalGameData.ShopCustomizePoint = maxLevelData.point;
globalGameData.ShopCustomizeMyItems = globalGameData.ShopCustomizeMyItems
.Union(shopCustomizeDataList.Select(data => data.id)).ToArray();
}).AddTo(this);
@ -233,22 +233,22 @@ public class DebugOptionManager : MonoBehaviour
LocalizationManager.CurrentLanguage = "Korean";
}).AddTo(this);
coinCount.text = $"{gameData.Coin}";
coinCount.text = $"{globalGameData.Coin}";
coinCount.OnValueChangedAsObservable().Subscribe(x =>
{
gameData.Coin = Int32.Parse(x);
globalGameData.Coin = Int32.Parse(x);
}).AddTo(this);
heartCount.text = $"{gameData.Heart}";
heartCount.text = $"{globalGameData.Heart}";
heartCount.OnValueChangedAsObservable().Subscribe(x =>
{
gameData.Heart = Int32.Parse(x);
globalGameData.Heart = Int32.Parse(x);
}).AddTo(this);
shopCustomizeCoinCount.text = $"{gameData.ShopCustomizeCoin}";
shopCustomizeCoinCount.text = $"{globalGameData.ShopCustomizeCoin}";
shopCustomizeCoinCount.OnValueChangedAsObservable().Subscribe(x =>
{
gameData.ShopCustomizeCoin = Int32.Parse(x);
globalGameData.ShopCustomizeCoin = Int32.Parse(x);
}).AddTo(this);
/*
@ -260,16 +260,17 @@ public class DebugOptionManager : MonoBehaviour
shopLevelDropdown.ClearOptions();
var shopLevelList = SpreadsheetDataManager.Instance.GetBaseDataList<ShopLevelData>(Const.ShopLevelDataSheet);
shopLevelDropdown.AddOptions(shopLevelList.Where(data => data.shopLevel != Const.SpecialShopLevel).Select(data => data.shopLevel.ToString()).ToList());
shopLevelDropdown.value = gameData.ViewedShopLevel - 1;
shopLevelDropdown.value = globalGameData.ViewedShopLevel - 1;
shopLevelDropdown.OnValueChangedAsObservable()
.Skip(1)
.DistinctUntilChanged()
.Subscribe(x =>
{
var shopLevelData = shopLevelList.First(data => data.shopLevel == x + 1);
gameData.ViewedShopLevel = shopLevelData.shopLevel;
gameData.Heart = shopLevelData.heart;
gameData.MyRecipes = GetMyRecipe(shopLevelData.shopLevel);
globalGameData.ViewedShopLevel = shopLevelData.shopLevel;
globalGameData.Heart = shopLevelData.heart;
globalGameData.MyRecipes = GetMyRecipe(shopLevelData.shopLevel);
heartCount.text = $"{globalGameData.Heart}";
}).AddTo(this);
/*
@ -278,12 +279,12 @@ public class DebugOptionManager : MonoBehaviour
bulkOrderDropdown.ClearOptions();
var bulkOrderList = SpreadsheetDataManager.Instance.GetBaseDataList<BulkOrderData>(Const.BulkOrderDataSheet);
var nextOrderList = bulkOrderList
.Where(data => data.shopLevel <= gameData.ViewedShopLevel)
.Where(data => data.shopLevel <= globalGameData.ViewedShopLevel)
.ToList();
if (nextOrderList.Count > 0)
{
var len = nextOrderList.Count;
var index = nextOrderList.FindIndex(data => data.id == gameData.OrderIdInProgress);
var index = nextOrderList.FindIndex(data => data.id == globalGameData.OrderIdInProgress);
bulkOrderDropdown.AddOptions(nextOrderList.Select(data => $"id:{data.id}").ToList());
// 現在のIDをデフォで設定
if (index != -1)
@ -296,13 +297,13 @@ public class DebugOptionManager : MonoBehaviour
.Subscribe(x =>
{
// オーダー達成状況をリセット
gameData.DeliveredOrder.Clear();
gameData.AchievedOrderLevel = nextOrderList[x].shopLevel - 1;
globalGameData.DeliveredOrder.Clear();
globalGameData.AchievedOrderLevel = nextOrderList[x].shopLevel - 1;
// 1つ前のオーダーを現在のオーダーに設定
var prevOrder = nextOrderList[(len + x - 1) % len];
gameData.OrderIdInProgress = gameData.CancelOrderId = prevOrder.id;
// 即座に通知を発生
gameData.OrderConditionCount = 99999;
globalGameData.OrderConditionCount = 99999;
}).AddTo(this);
}
@ -312,21 +313,21 @@ public class DebugOptionManager : MonoBehaviour
autoCookDropdown.ClearOptions();
var autoCookList = SpreadsheetDataManager.Instance.GetBaseDataList<AutoCookData>(Const.AutoCookDataSheet);
autoCookDropdown.AddOptions(autoCookList.Select(data => data.level.ToString()).ToList());
autoCookDropdown.value = gameData.AutoCookLevel - 1;
autoCookDropdown.value = globalGameData.AutoCookLevel - 1;
autoCookDropdown.OnValueChangedAsObservable()
.Skip(1)
.DistinctUntilChanged()
.Subscribe(x =>
{
gameData.AutoCookUsesCount = 0;
gameData.AutoCookLevel = autoCookList[x].level;
globalGameData.AutoCookUsesCount = 0;
globalGameData.AutoCookLevel = autoCookList[x].level;
// level1ならチュートリアル復活
if (gameData.AutoCookLevel == 1)
if (globalGameData.AutoCookLevel == 1)
{
gameData.FinishedFlags &= ~TutorialFlag.AutoCook;
gameData.AutoCookFinishTime = DateTime.UtcNow.ToBinary();
gameData.AutoCookProducts = Array.Empty<int>();
gameData.AutoCookUsesCount = 0;
globalGameData.FinishedFlags &= ~TutorialFlag.AutoCook;
globalGameData.AutoCookFinishTime = DateTime.UtcNow.ToBinary();
globalGameData.AutoCookProducts = Array.Empty<int>();
globalGameData.AutoCookUsesCount = 0;
}
}).AddTo(this);
@ -359,21 +360,21 @@ public class DebugOptionManager : MonoBehaviour
{
UsayaStorageManager.Save(UsayaStorageFilename.Settings_Data, "DebugTutorialEnable", x);
}).AddTo(this);
vipRewardToggle.isOn = gameData.vipCustomerFirstOpen;
vipRewardToggle.isOn = globalGameData.vipCustomerFirstOpen;
vipRewardToggle.OnValueChangedAsObservable().Subscribe(x =>
{
gameData.vipCustomerFirstOpen = x;
gameData.vipCustomerLimitTime = (x ? DateTime.UtcNow.AddSeconds(60f) : DateTime.UtcNow).ToBinary();
globalGameData.vipCustomerFirstOpen = x;
globalGameData.vipCustomerLimitTime = (x ? DateTime.UtcNow.AddSeconds(60f) : DateTime.UtcNow).ToBinary();
}).AddTo(this);
}
private static int[] GetMyRecipe(int level, bool clearShopRecipe = false)
private int[] GetMyRecipe(int level, bool clearShopRecipe = false)
{
var productList = SpreadsheetDataManager.Instance.GetBaseDataList<ProductData>(Const.ProductDataSheet);
var levelUpAchievedList = productList.Where(data => data.shopLevel != Const.SpecialShopLevel).ToList();
var levelUpAchievedRecipeList = levelUpAchievedList.Where(data => data.shopLevel <= level).Select(data => data.id);
var shopRecipe = clearShopRecipe
? GameDataManager.GameData.MyRecipes.Except(levelUpAchievedList.Select(data => data.id))
? globalGameData.MyRecipes.Except(levelUpAchievedList.Select(data => data.id))
: Array.Empty<int>();
return levelUpAchievedRecipeList.Union(shopRecipe).ToArray();
}

View File

@ -12,7 +12,7 @@ public static class Const {
public static readonly int DefaultPanId = 1;
public static readonly int DefaultCityId = 1;
public static readonly int ShopTankId = 20;
public static readonly int MaxShopLevel = 19; // Max 店舗レベル
public static readonly int MaxShopLevel = 20; // Max 店舗レベル
public static readonly int TankCapacity = 20;
public static readonly int SpecialShopLevel = 9999;
public static readonly int SpecialCategory = 9999;

View File

@ -643,6 +643,11 @@ public sealed class CityData
{
return Resources.Load<Transform>($"MainCityBackground/{prefabName}");
}
public Transform GetCornFieldBgPrefab()
{
return Resources.Load<Transform>($"CornFieldCityBackground/{prefabName}");
}
}
[Serializable]