解决合并冲突

This commit is contained in:
shurongsen 2024-11-03 01:05:24 +08:00
commit 02ae2fec04
10 changed files with 387 additions and 84 deletions

View File

@ -1141,7 +1141,7 @@ MonoBehaviour:
m_OnCullStateChanged: m_OnCullStateChanged:
m_PersistentCalls: m_PersistentCalls:
m_Calls: [] m_Calls: []
m_Sprite: {fileID: 21300000, guid: 3987eea29d3d1e74c9b5a8917835d83e, type: 3} m_Sprite: {fileID: 21300000, guid: b30603fb7e98e0744899b0bf2872d6d9, type: 3}
m_Type: 0 m_Type: 0
m_PreserveAspect: 1 m_PreserveAspect: 1
m_FillCenter: 1 m_FillCenter: 1

View File

@ -715,7 +715,6 @@ MonoBehaviour:
- {fileID: 21300000, guid: d4fbb32ff8543d443b74de2652100618, type: 3} - {fileID: 21300000, guid: d4fbb32ff8543d443b74de2652100618, type: 3}
- {fileID: 21300000, guid: f6884187fb833964ea9e632b9d5a8252, type: 3} - {fileID: 21300000, guid: f6884187fb833964ea9e632b9d5a8252, type: 3}
- {fileID: 21300000, guid: f79faf75d4e26b748958aaaf6c64cf56, type: 3} - {fileID: 21300000, guid: f79faf75d4e26b748958aaaf6c64cf56, type: 3}
type: 1
--- !u!114 &109717923 --- !u!114 &109717923
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -11522,7 +11521,7 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1883297442} m_GameObject: {fileID: 1883297442}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -0.0068159103, y: -0.019911766, z: -24.20161} m_LocalPosition: {x: -0.9797802, y: -0.015979767, z: -24.20161}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []

View File

@ -626,6 +626,90 @@ SpriteRenderer:
m_WasSpriteAssigned: 1 m_WasSpriteAssigned: 1
m_MaskInteraction: 0 m_MaskInteraction: 0
m_SpriteSortPoint: 0 m_SpriteSortPoint: 0
--- !u!1 &44899766
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 44899767}
- component: {fileID: 44899768}
m_Layer: 0
m_Name: endPos
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &44899767
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 44899766}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -4.041, y: -0.026, z: 0}
m_LocalScale: {x: 0.49999997, y: 0.49999997, z: 0.49999997}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 723548395}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &44899768
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 44899766}
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: 0
m_Sprite: {fileID: 21300000, guid: 1018a775041383b4a83b311a91692a3d, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 0}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 0.7, y: 0.7}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &56346248 --- !u!1 &56346248
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -659,7 +743,6 @@ Transform:
- {fileID: 733512740} - {fileID: 733512740}
- {fileID: 1616921918} - {fileID: 1616921918}
- {fileID: 1621691473} - {fileID: 1621691473}
- {fileID: 347020761}
- {fileID: 723548395} - {fileID: 723548395}
- {fileID: 998933732} - {fileID: 998933732}
m_Father: {fileID: 787643888} m_Father: {fileID: 787643888}
@ -705,11 +788,13 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
fishManPrefab: {fileID: 3493682475662937687, guid: 0991c3a29d050114f8900e457bbb5022, type: 3} fishManPrefab: {fileID: 3493682475662937687, guid: 0991c3a29d050114f8900e457bbb5022, type: 3}
startPos: {fileID: 347020761} startPos: {fileID: 347020761}
endPos: {fileID: 44899767}
type: 0 type: 0
isbuy: 1 isbuy: 1
isGoldLand: 0 isGoldLand: 0
ActivateValue: 0 ActivateValue: 5000
Num: 0 Num: 16
Type: 0
paths: paths:
- pathPoints: - pathPoints:
- {fileID: 6047004} - {fileID: 6047004}
@ -732,11 +817,11 @@ MonoBehaviour:
restTimer: 5 restTimer: 5
getgoldnumber: 100 getgoldnumber: 100
goldshop: {fileID: 1621691472} goldshop: {fileID: 1621691472}
goldnumer: 0
goldNumerTextPro: {fileID: 1113669198} goldNumerTextPro: {fileID: 1113669198}
HightLight: {fileID: 998933731} HightLight: {fileID: 998933731}
Btntrans: {fileID: 56346249} Btntrans: {fileID: 56346249}
FishPrice: 0 FishPrice: 0
map: {fileID: 1987825450}
--- !u!1 &76149330 --- !u!1 &76149330
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -857,7 +942,7 @@ Transform:
- {fileID: 1620158627} - {fileID: 1620158627}
- {fileID: 97294784} - {fileID: 97294784}
m_Father: {fileID: 1853199159} m_Father: {fileID: 1853199159}
m_RootOrder: 0 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &97294783 --- !u!1 &97294783
GameObject: GameObject:
@ -1417,7 +1502,7 @@ Transform:
- {fileID: 1174175337} - {fileID: 1174175337}
- {fileID: 1646946173} - {fileID: 1646946173}
m_Father: {fileID: 1343167264} m_Father: {fileID: 1343167264}
m_RootOrder: 0 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &310426478 --- !u!1 &310426478
GameObject: GameObject:
@ -1543,7 +1628,7 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 311529422} m_GameObject: {fileID: 311529422}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -1.31, y: -5.29, z: 0} m_LocalPosition: {x: -1.75, y: -4.8, z: 0}
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5} m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 1 m_ConstrainProportionsScale: 1
m_Children: [] m_Children: []
@ -1686,6 +1771,90 @@ SpriteRenderer:
m_WasSpriteAssigned: 1 m_WasSpriteAssigned: 1
m_MaskInteraction: 0 m_MaskInteraction: 0
m_SpriteSortPoint: 0 m_SpriteSortPoint: 0
--- !u!1 &346538289
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 346538290}
- component: {fileID: 346538291}
m_Layer: 0
m_Name: endPos
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &346538290
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 346538289}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -5.57, y: -4.83, z: 0}
m_LocalScale: {x: 0.49999997, y: 0.49999997, z: 0.49999997}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 1853199159}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &346538291
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 346538289}
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: 0
m_Sprite: {fileID: 21300000, guid: 1018a775041383b4a83b311a91692a3d, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 0}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 0.7, y: 0.7}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &347020760 --- !u!1 &347020760
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -1710,12 +1879,12 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 347020760} m_GameObject: {fileID: 347020760}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 1.49, y: -3.6, z: 0} m_LocalPosition: {x: 4.01, y: -2.79, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 56346249} m_Father: {fileID: 723548395}
m_RootOrder: 3 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &402907780 --- !u!1 &402907780
GameObject: GameObject:
@ -2089,7 +2258,7 @@ Transform:
- {fileID: 1050211812} - {fileID: 1050211812}
- {fileID: 1711639167} - {fileID: 1711639167}
m_Father: {fileID: 723548395} m_Father: {fileID: 723548395}
m_RootOrder: 0 m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &505544139 --- !u!1 &505544139
GameObject: GameObject:
@ -2253,7 +2422,6 @@ Transform:
- {fileID: 325072784} - {fileID: 325072784}
- {fileID: 310426479} - {fileID: 310426479}
- {fileID: 770877809} - {fileID: 770877809}
- {fileID: 1467507543}
- {fileID: 1343167264} - {fileID: 1343167264}
- {fileID: 908447974} - {fileID: 908447974}
m_Father: {fileID: 787643888} m_Father: {fileID: 787643888}
@ -2299,11 +2467,13 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
fishManPrefab: {fileID: 2573296898750738764, guid: ad264b5cad6c49547925f7ce059b94bb, type: 3} fishManPrefab: {fileID: 2573296898750738764, guid: ad264b5cad6c49547925f7ce059b94bb, type: 3}
startPos: {fileID: 1467507543} startPos: {fileID: 1467507543}
endPos: {fileID: 833749038}
type: 0 type: 0
isbuy: 1 isbuy: 1
isGoldLand: 0 isGoldLand: 0
ActivateValue: 0 ActivateValue: 200
Num: 0 Num: 10
Type: 0
paths: paths:
- pathPoints: - pathPoints:
- {fileID: 418966151} - {fileID: 418966151}
@ -2313,6 +2483,7 @@ MonoBehaviour:
- {fileID: 296360679} - {fileID: 296360679}
- {fileID: 1174175337} - {fileID: 1174175337}
- {fileID: 1646946173} - {fileID: 1646946173}
- {fileID: 833749038}
- pathPoints: - pathPoints:
- {fileID: 1949570784} - {fileID: 1949570784}
- {fileID: 630217766} - {fileID: 630217766}
@ -2321,16 +2492,17 @@ MonoBehaviour:
- {fileID: 15344628} - {fileID: 15344628}
- {fileID: 2084044675} - {fileID: 2084044675}
- {fileID: 311529423} - {fileID: 311529423}
- {fileID: 833749038}
pathsNeedTimer: 30 pathsNeedTimer: 30
fishingNeedTimer: 30 fishingNeedTimer: 30
restTimer: 5 restTimer: 5
getgoldnumber: 100 getgoldnumber: 100
goldshop: {fileID: 770877808} goldshop: {fileID: 770877808}
goldnumer: 0
goldNumerTextPro: {fileID: 956953120} goldNumerTextPro: {fileID: 956953120}
HightLight: {fileID: 908447973} HightLight: {fileID: 908447973}
Btntrans: {fileID: 559443431} Btntrans: {fileID: 559443431}
FishPrice: 0 FishPrice: 0
map: {fileID: 1987825450}
--- !u!1 &582440289 --- !u!1 &582440289
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2355,12 +2527,12 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 582440289} m_GameObject: {fileID: 582440289}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 2.37, y: -1.99, z: 0} m_LocalPosition: {x: 3.413, y: -1.5529988, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 1048058358} m_Father: {fileID: 1853199159}
m_RootOrder: 3 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &630217765 --- !u!1 &630217765
GameObject: GameObject:
@ -2558,10 +2730,12 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 347020761}
- {fileID: 467610297} - {fileID: 467610297}
- {fileID: 760608485} - {fileID: 760608485}
- {fileID: 44899767}
m_Father: {fileID: 56346249} m_Father: {fileID: 56346249}
m_RootOrder: 4 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &733512739 --- !u!1 &733512739
GameObject: GameObject:
@ -2767,7 +2941,7 @@ Transform:
- {fileID: 1421307109} - {fileID: 1421307109}
- {fileID: 6111264} - {fileID: 6111264}
m_Father: {fileID: 723548395} m_Father: {fileID: 723548395}
m_RootOrder: 1 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &770877808 --- !u!1 &770877808
GameObject: GameObject:
@ -3636,6 +3810,90 @@ PolygonCollider2D:
- {x: 5.616213, y: -10.037206} - {x: 5.616213, y: -10.037206}
- {x: 5.700777, y: -10.0731125} - {x: 5.700777, y: -10.0731125}
- {x: 5.618172, y: 9.981446} - {x: 5.618172, y: 9.981446}
--- !u!1 &833749037
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 833749038}
- component: {fileID: 833749039}
m_Layer: 0
m_Name: endPos
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &833749038
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 833749037}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -1.75, y: -4.8, z: 0}
m_LocalScale: {x: 0.49999997, y: 0.49999997, z: 0.49999997}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 1343167264}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &833749039
SpriteRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 833749037}
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: 0
m_Sprite: {fileID: 21300000, guid: 1018a775041383b4a83b311a91692a3d, type: 3}
m_Color: {r: 1, g: 1, b: 1, a: 0}
m_FlipX: 0
m_FlipY: 0
m_DrawMode: 0
m_Size: {x: 0.7, y: 0.7}
m_AdaptiveModeThreshold: 0.5
m_SpriteTileMode: 0
m_WasSpriteAssigned: 1
m_MaskInteraction: 0
m_SpriteSortPoint: 0
--- !u!1 &866420152 --- !u!1 &866420152
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -3750,7 +4008,7 @@ Transform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 559443431} m_Father: {fileID: 559443431}
m_RootOrder: 5 m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &908447975 --- !u!212 &908447975
SpriteRenderer: SpriteRenderer:
@ -4006,7 +4264,7 @@ Transform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 56346249} m_Father: {fileID: 56346249}
m_RootOrder: 5 m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &998933733 --- !u!212 &998933733
SpriteRenderer: SpriteRenderer:
@ -4093,7 +4351,6 @@ Transform:
- {fileID: 20416359} - {fileID: 20416359}
- {fileID: 1380133528} - {fileID: 1380133528}
- {fileID: 784479836} - {fileID: 784479836}
- {fileID: 582440290}
- {fileID: 1853199159} - {fileID: 1853199159}
- {fileID: 1642726818} - {fileID: 1642726818}
m_Father: {fileID: 787643888} m_Father: {fileID: 787643888}
@ -4139,11 +4396,13 @@ MonoBehaviour:
m_EditorClassIdentifier: m_EditorClassIdentifier:
fishManPrefab: {fileID: 6097386749501479918, guid: a8700ae973e4404429799e98d0f777ee, type: 3} fishManPrefab: {fileID: 6097386749501479918, guid: a8700ae973e4404429799e98d0f777ee, type: 3}
startPos: {fileID: 582440290} startPos: {fileID: 582440290}
endPos: {fileID: 346538290}
type: 0 type: 0
isbuy: 1 isbuy: 1
isGoldLand: 0 isGoldLand: 0
ActivateValue: 0 ActivateValue: 1000
Num: 0 Num: 13
Type: 0
paths: paths:
- pathPoints: - pathPoints:
- {fileID: 202400057} - {fileID: 202400057}
@ -4166,11 +4425,11 @@ MonoBehaviour:
restTimer: 5 restTimer: 5
getgoldnumber: 100 getgoldnumber: 100
goldshop: {fileID: 784479835} goldshop: {fileID: 784479835}
goldnumer: 0
goldNumerTextPro: {fileID: 1634093115} goldNumerTextPro: {fileID: 1634093115}
HightLight: {fileID: 1642726817} HightLight: {fileID: 1642726817}
Btntrans: {fileID: 1048058358} Btntrans: {fileID: 1048058358}
FishPrice: 0 FishPrice: 0
map: {fileID: 1987825450}
--- !u!1 &1050211811 --- !u!1 &1050211811
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -4578,7 +4837,7 @@ Transform:
- {fileID: 2084044675} - {fileID: 2084044675}
- {fileID: 311529423} - {fileID: 311529423}
m_Father: {fileID: 1343167264} m_Father: {fileID: 1343167264}
m_RootOrder: 1 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1302727106 --- !u!1 &1302727106
GameObject: GameObject:
@ -4868,7 +5127,7 @@ Transform:
- {fileID: 23420342} - {fileID: 23420342}
- {fileID: 1302727107} - {fileID: 1302727107}
m_Father: {fileID: 1853199159} m_Father: {fileID: 1853199159}
m_RootOrder: 1 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1343167263 --- !u!1 &1343167263
GameObject: GameObject:
@ -4898,10 +5157,12 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 1467507543}
- {fileID: 306345051} - {fileID: 306345051}
- {fileID: 1202945966} - {fileID: 1202945966}
- {fileID: 833749038}
m_Father: {fileID: 559443431} m_Father: {fileID: 559443431}
m_RootOrder: 4 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1380133527 --- !u!1 &1380133527
GameObject: GameObject:
@ -5460,12 +5721,12 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1467507542} m_GameObject: {fileID: 1467507542}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 1.9, y: -0.79, z: 0} m_LocalPosition: {x: 2.8930001, y: -1.7129993, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 559443431} m_Father: {fileID: 1343167264}
m_RootOrder: 3 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1469919404 --- !u!1 &1469919404
GameObject: GameObject:
@ -6667,7 +6928,7 @@ Transform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 1048058358} m_Father: {fileID: 1048058358}
m_RootOrder: 5 m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!212 &1642726819 --- !u!212 &1642726819
SpriteRenderer: SpriteRenderer:
@ -6998,7 +7259,7 @@ Transform:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1711639166} m_GameObject: {fileID: 1711639166}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -3.68, y: 0.93, z: 0} m_LocalPosition: {x: -3.21, y: 0.387, z: 0}
m_LocalScale: {x: 0.5, y: 0.5, z: 0.5} m_LocalScale: {x: 0.5, y: 0.5, z: 0.5}
m_ConstrainProportionsScale: 1 m_ConstrainProportionsScale: 1
m_Children: [] m_Children: []
@ -7509,10 +7770,12 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: m_Children:
- {fileID: 582440290}
- {fileID: 80262540} - {fileID: 80262540}
- {fileID: 1343094554} - {fileID: 1343094554}
- {fileID: 346538290}
m_Father: {fileID: 1048058358} m_Father: {fileID: 1048058358}
m_RootOrder: 4 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1857952290 --- !u!1 &1857952290
GameObject: GameObject:

View File

@ -88,7 +88,7 @@ public class ResponseVoucher : Res//
public VoucherItem[] List; public VoucherItem[] List;
} }
[Serializable] [Serializable]
public class GenerateForFisherElf //员工购买数据 public class GenerateForFisherElf //渔夫购买数据
{ {
public int Num; public int Num;
public int Count; public int Count;
@ -252,7 +252,7 @@ public class mount : MonoBehaviour
//mountitem.login_screen(); //mountitem.login_screen();
} }
private void Start() public virtual void Start()
{ {
mountitem = this; mountitem = this;
LoadAllJsonFiles(); LoadAllJsonFiles();

View File

@ -103,6 +103,7 @@ public class JinShaBuy : mount
generateForFisherElf.Count =Convert.ToInt32( boxTypes[1].content); generateForFisherElf.Count =Convert.ToInt32( boxTypes[1].content);
//Debug.Log(generateForFisherElf); //Debug.Log(generateForFisherElf);
string response = await web.SendRequest(web.URL+ "/Voucher/GenerateForMinerElf", "POST", JsonUtility.ToJson(generateForFisherElf)); string response = await web.SendRequest(web.URL+ "/Voucher/GenerateForMinerElf", "POST", JsonUtility.ToJson(generateForFisherElf));
string response = await web.SendRequest("http://47.109.133.52/MinerElf/GetList", "POST");
Debug.Log(response); Debug.Log(response);
// Debug.Log(boxTypes[1].content); // Debug.Log(boxTypes[1].content);

View File

@ -26,12 +26,10 @@ public class AssestPanel : MonoBehaviour
async void ExecuteTask() async void ExecuteTask()
{ {
string userponse = await web.SendRequest(web.URL + "/Player/GetInfo", "POST");
//Debug.Log(userponse.ToString());
infopyler res = JsonUtility.FromJson<infopyler>(userponse); infopyler res = JsonUtility.FromJson<infopyler>(userponse);
SetCoinText(res.Info.Gold); SetCoinText(res.Info.Gold);
SetStoneText(res.Info.Gem); SetStoneText(res.Info.Gem);
//SetForgingText(res.Info.Gold); //SetCoinText(res.Info.Gold);
//SetCoinText(res.Info.Gold); //SetCoinText(res.Info.Gold);
} }

View File

@ -30,6 +30,10 @@ public class jinsha : mount
public async void buy_miners()//购买金币矿工界面 public async void buy_miners()//购买金币矿工界面
{ {
//测试用
Login login = new Login();
login.Phone = "1";
await web.SendRequest(web.URL + "/Player/Login", "POST", JsonUtility.ToJson(login));
////测试用 ////测试用
//Login login = new Login(); //Login login = new Login();
//login.Phone = "1"; //login.Phone = "1";
@ -136,6 +140,7 @@ public class jinsha : mount
if (type == 1) if (type == 1)
{ {
//赠送逻辑 //赠送逻辑
ercitanchuang.GetComponent<input_box_pop_up_window>().destroy(); ercitanchuang.GetComponent<input_box_pop_up_window>().destroy();
} }

View File

@ -8,11 +8,11 @@ public class boy : mount
public int currencType = 0;//货币类型 public int currencType = 0;//货币类型
public List<GameObject> listgameobject = new List<GameObject>(); public List<GameObject> listgameobject = new List<GameObject>();
public Dictionary<float, int> ActivateValues = new Dictionary<float, int>(); public Dictionary<float, int> ActivateValues = new Dictionary<float, int>();
async void Start() public override async void Start()
{ {
//测试用 //测试用
Login login = new Login(); Login login = new Login();
login.Phone = "1"; login.Phone = "test1";
await web.SendRequest(web.URL + "/Player/Login", "POST", JsonUtility.ToJson(login)); await web.SendRequest(web.URL + "/Player/Login", "POST", JsonUtility.ToJson(login));
@ -26,8 +26,16 @@ public class boy : mount
} }
} }
} }
UpShipTimer();
}
public async void UpShipTimer()
{
int index = 0; int index = 0;
foreach (int key in ActivateValues.Keys) { foreach (int key in ActivateValues.Keys)
{
listgameobject[index].GetComponent<landContorl>().ActivateValue = key; listgameobject[index].GetComponent<landContorl>().ActivateValue = key;
listgameobject[index].GetComponent<landContorl>().Num = ActivateValues[key]; listgameobject[index].GetComponent<landContorl>().Num = ActivateValues[key];
@ -43,11 +51,10 @@ public class boy : mount
else//宝石 else//宝石
{ {
allfisherman = await web.SendRequest(web.URL + "/FisherElfActive/GetListOfGem", "POST"); allfisherman = await web.SendRequest(web.URL + "/FisherElfActive/GetListOfGem", "POST");
}
} //Debug.Log(allfisherman);
Debug.Log(allfisherman);
Response allfishermanres = JsonUtility.FromJson<Response>(allfisherman); Response allfishermanres = JsonUtility.FromJson<Response>(allfisherman);
Debug.Log(Struct.StructToString(allfishermanres, 1)); //Debug.Log(Struct.StructToString(allfishermanres, 1));
foreach (Item item in allfishermanres.List) foreach (Item item in allfishermanres.List)
{ {
if (item.Type == currencType) if (item.Type == currencType)
@ -56,15 +63,13 @@ public class boy : mount
{ {
if (gameObject.GetComponent<landContorl>().ActivateValue == item.ActivateValue)//如果价格一致 if (gameObject.GetComponent<landContorl>().ActivateValue == item.ActivateValue)//如果价格一致
{ {
Debug.Log(item.RemainEndureTime.ToString() +'/' + item.EndureTime.ToString()); Debug.Log(item.RemainEndureTime.ToString() + '/' + item.EndureTime.ToString());
gameObject.GetComponent<landContorl>().add_fish(); gameObject.GetComponent<landContorl>().add_fish(item.RemainEndureTime.ToString() + '/' + item.EndureTime.ToString());
//gameObject.GetComponent<landContorl>().add_fish();
} }
} }
} }
} }
//Debug.Log(Struct.StructToString(ActivateValues.Keys, 1));
} }
} }

View File

@ -16,6 +16,7 @@ public class landContorl : MonoBehaviour
private GameObject fishMan; private GameObject fishMan;
private shipcontorl fishManShipContorl; private shipcontorl fishManShipContorl;
public Transform startPos; public Transform startPos;
public Transform endPos;
public int type; public int type;
public bool isbuy=false; public bool isbuy=false;
@ -49,6 +50,7 @@ public class landContorl : MonoBehaviour
public float FishPrice; public float FishPrice;
public GameObject map;
// Start is called before the first frame update // Start is called before the first frame update
private void Start() private void Start()
@ -98,10 +100,22 @@ public class landContorl : MonoBehaviour
private void OnMouseDown() private void OnMouseDown()
{ {
if (fishMan != null)
{
Promptmgr.Instance.PromptBubble("已经有船了", Color.black, Color.red);
return;
}
OnClick(); OnClick();
} }
private void OnTouch() private void OnTouch()
{ {
if (fishMan != null)
{
Promptmgr.Instance.PromptBubble("已经有船了", Color.black, Color.red);
return;
}
OnClick(); OnClick();
} }
@ -126,6 +140,7 @@ public class landContorl : MonoBehaviour
Promptmgr.Instance.PromptBubble("购买成功", Color.black, Color.red); Promptmgr.Instance.PromptBubble("购买成功", Color.black, Color.red);
ScaleAni(Btntrans); ScaleAni(Btntrans);
add_fish(); add_fish();
map.GetComponent<boy>().UpShipTimer();
} }
else else
{ {
@ -140,21 +155,38 @@ public class landContorl : MonoBehaviour
Debug.Log(Struct.StructToString(itemList, 3)); Debug.Log(Struct.StructToString(itemList, 3));
} }
public void add_fish()//生成船只 public void add_fish(string timerStr=null)//生成船只
{ {
//倒计时
// fishManShipContorl.UpShowTimer("测试");
if (fishMan!=null)
{
fishManShipContorl.UpShowTimer(timerStr);
return;
}
if (timerStr!=null)
{
fishMan = GameObject.Instantiate(fishManPrefab);
fishMan.transform.position = endPos.position;
fishManShipContorl = fishMan.GetComponent<shipcontorl>();
MoveToStartPos();
return;
}
fishMan = GameObject.Instantiate(fishManPrefab); fishMan = GameObject.Instantiate(fishManPrefab);
fishMan.transform.position = startPos.position; fishMan.transform.position = startPos.position;
fishManShipContorl = fishMan.GetComponent<shipcontorl>(); fishManShipContorl = fishMan.GetComponent<shipcontorl>();
MoveToFishingPos(); MoveToFishingPos();
} }
void MoveToFishingPos() void MoveToFishingPos()
{ {
//倒计时
fishManShipContorl.UpShowTimer(pathsNeedTimer);
// 随机选择一条路径 // 随机选择一条路径
Path selectedPath = paths[Random.Range(0, paths.Count)]; Path selectedPath = paths[Random.Range(0, paths.Count)];
// 移动到捕鱼点 // 移动到捕鱼点
@ -210,8 +242,9 @@ public class landContorl : MonoBehaviour
{ {
fishMan.GetComponent<shipcontorl>().SetState(ShipState.shipthrow); fishMan.GetComponent<shipcontorl>().SetState(ShipState.shipthrow);
//倒计时
fishManShipContorl.UpShowTimer(fishingNeedTimer);
yield return new WaitForSeconds(1f); yield return new WaitForSeconds(1f);
fishMan.GetComponent<shipcontorl>().SetState(ShipState.stand); fishMan.GetComponent<shipcontorl>().SetState(ShipState.stand);
// 等待捕鱼指定时间 // 等待捕鱼指定时间
@ -224,8 +257,7 @@ public class landContorl : MonoBehaviour
void MoveToStartPos() void MoveToStartPos()
{ {
//倒计时
fishManShipContorl.UpShowTimer(pathsNeedTimer);
// 随机选择一条路径 // 随机选择一条路径
Path selectedPath = paths[Random.Range(0, paths.Count)]; Path selectedPath = paths[Random.Range(0, paths.Count)];
@ -268,17 +300,15 @@ public class landContorl : MonoBehaviour
.SetEase(Ease.InOutSine) .SetEase(Ease.InOutSine)
.WaitForCompletion(); .WaitForCompletion();
// 停止摆动效果
swayTween.Kill();
//加钱 //加钱
AddGold(); AddGold();
//倒计时
fishManShipContorl.UpShowTimer(restTimer);
// 等待捕鱼指定时间 // 等待捕鱼指定时间
yield return new WaitForSeconds(restTimer); yield return new WaitForSeconds(restTimer);
// 停止摆动效果
swayTween.Kill();
//循环 //循环
MoveToFishingPos(); MoveToFishingPos();
} }
@ -299,9 +329,11 @@ public class landContorl : MonoBehaviour
void AddGold() void AddGold()
{ {
Debug.LogError("返航完成,开始:真·摸-鱼,加钱"); Debug.LogError("返航完成,开始:真·摸-鱼,加钱");
//goldnumer += getgoldnumber;
goldNumerTextPro.text = ActivateValue.ToString(); goldNumerTextPro.text = ActivateValue.ToString();
fishMan.GetComponent<shipcontorl>().SetState(ShipState.draw); fishMan.GetComponent<shipcontorl>().SetState(ShipState.draw);
} }
} }

View File

@ -50,13 +50,13 @@ public class shipcontorl : MonoBehaviour
} }
public void UpShowTimer(float timer) public void UpShowTimer(string info)
{ {
this.timer = timer; //TimerTextPro.text = FloatToTimer(this.timer);
StartCoroutine(UpShowTimerIE()); TimerTextPro.text = info;
} }
IEnumerator UpShowTimerIE() /* IEnumerator UpShowTimerIE()
{ {
while (this.timer>0) while (this.timer>0)
{ {
@ -66,9 +66,9 @@ public class shipcontorl : MonoBehaviour
} }
// ×îºóÏÔʾ 00:00 // ×îºóÏÔʾ 00:00
TimerTextPro.text = "00:00"; TimerTextPro.text = "00:00";
} }*/
string FloatToTimer(float timer) /* string FloatToTimer(float timer)
{ {
if (timer < 60) if (timer < 60)
{ {
@ -82,5 +82,5 @@ public class shipcontorl : MonoBehaviour
} }
return null; return null;
} }*/
} }