add
This commit is contained in:
parent
b7302f4e9b
commit
3d45e6b439
@ -710,6 +710,7 @@ MonoBehaviour:
|
|||||||
isGoldLand: 0
|
isGoldLand: 0
|
||||||
ActivateValue: 0
|
ActivateValue: 0
|
||||||
Num: 0
|
Num: 0
|
||||||
|
Type: 0
|
||||||
paths:
|
paths:
|
||||||
- pathPoints:
|
- pathPoints:
|
||||||
- {fileID: 6047004}
|
- {fileID: 6047004}
|
||||||
@ -732,7 +733,6 @@ 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}
|
||||||
@ -1417,7 +1417,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 +1543,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: []
|
||||||
@ -2253,7 +2253,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}
|
||||||
@ -2304,6 +2303,7 @@ MonoBehaviour:
|
|||||||
isGoldLand: 0
|
isGoldLand: 0
|
||||||
ActivateValue: 0
|
ActivateValue: 0
|
||||||
Num: 0
|
Num: 0
|
||||||
|
Type: 0
|
||||||
paths:
|
paths:
|
||||||
- pathPoints:
|
- pathPoints:
|
||||||
- {fileID: 418966151}
|
- {fileID: 418966151}
|
||||||
@ -2313,6 +2313,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}
|
||||||
@ -2326,7 +2327,6 @@ MonoBehaviour:
|
|||||||
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}
|
||||||
@ -3636,6 +3636,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 +3834,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:
|
||||||
@ -4144,6 +4228,7 @@ MonoBehaviour:
|
|||||||
isGoldLand: 0
|
isGoldLand: 0
|
||||||
ActivateValue: 0
|
ActivateValue: 0
|
||||||
Num: 0
|
Num: 0
|
||||||
|
Type: 0
|
||||||
paths:
|
paths:
|
||||||
- pathPoints:
|
- pathPoints:
|
||||||
- {fileID: 202400057}
|
- {fileID: 202400057}
|
||||||
@ -4166,7 +4251,6 @@ 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}
|
||||||
@ -4578,7 +4662,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:
|
||||||
@ -4898,10 +4982,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 +5546,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:
|
||||||
|
@ -162,10 +162,21 @@ public class landContorl : MonoBehaviour
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (timerStr!=null)
|
||||||
|
{
|
||||||
|
fishMan = GameObject.Instantiate(fishManPrefab);
|
||||||
|
fishMan.transform.position = startPos.position;
|
||||||
|
fishManShipContorl = fishMan.GetComponent<shipcontorl>();
|
||||||
|
|
||||||
|
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user