This commit is contained in:
杨号敬 2025-01-08 14:08:48 +08:00
parent 5f580693b0
commit 4333b516d1
2 changed files with 216 additions and 17 deletions

View File

@ -13234,6 +13234,7 @@ RectTransform:
- {fileID: 1979437664} - {fileID: 1979437664}
- {fileID: 257698194} - {fileID: 257698194}
- {fileID: 1290347719} - {fileID: 1290347719}
- {fileID: 1425714359}
m_Father: {fileID: 1479024099} m_Father: {fileID: 1479024099}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -33906,27 +33907,27 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} - target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3}
propertyPath: m_AnchorMax.y propertyPath: m_AnchorMax.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} - target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3}
propertyPath: m_AnchorMin.y propertyPath: m_AnchorMin.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} - target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3}
propertyPath: m_SizeDelta.x propertyPath: m_SizeDelta.x
value: 600 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} - target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3}
propertyPath: m_SizeDelta.y propertyPath: m_SizeDelta.y
value: 733 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} - target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3}
propertyPath: m_AnchoredPosition.x propertyPath: m_AnchoredPosition.x
value: 300 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} - target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3}
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: -366.5 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 3011360593729086421, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} - target: {fileID: 3011360593729086421, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3}
propertyPath: m_Sprite propertyPath: m_Sprite
@ -131645,6 +131646,172 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1425674056} m_GameObject: {fileID: 1425674056}
m_CullTransparentMesh: 1 m_CullTransparentMesh: 1
--- !u!1001 &1425714358
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 134943862}
m_Modifications:
- target: {fileID: 5597939931395878172, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_SizeDelta.x
value: -9.186401
objectReference: {fileID: 0}
- target: {fileID: 5597939931395878172, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_SizeDelta.y
value: 1226.2799
objectReference: {fileID: 0}
- target: {fileID: 7936264300587005402, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7936264300587005402, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8255490281776792409, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8255490281776792409, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8255490281776792409, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_SizeDelta.x
value: -17
objectReference: {fileID: 0}
- target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_AnchoredPosition.x
value: 387.5308
objectReference: {fileID: 0}
- target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_AnchoredPosition.y
value: -631.13995
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_RootOrder
value: 10
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_AnchorMax.x
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741885, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_Name
value: GameplayPlane
objectReference: {fileID: 0}
- target: {fileID: 8266668363385741885, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
--- !u!224 &1425714359 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
m_PrefabInstance: {fileID: 1425714358}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1425714360 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 8266668362755610847, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
m_PrefabInstance: {fileID: 1425714358}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1425714361 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 8266668363385741885, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3}
m_PrefabInstance: {fileID: 1425714358}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1426617546 --- !u!1 &1426617546
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -137080,13 +137247,14 @@ GameObject:
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 1479024099} - component: {fileID: 1479024099}
- component: {fileID: 1479024100}
m_Layer: 5 m_Layer: 5
m_Name: The_best_fisherman_PK m_Name: The_best_fisherman_PK
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 0 m_IsActive: 1
--- !u!224 &1479024099 --- !u!224 &1479024099
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -137108,6 +137276,22 @@ RectTransform:
m_AnchoredPosition: {x: 0, y: 0} m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1479024100
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1479024098}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 29b5ece7ff1f9c946aee00668809f293, type: 3}
m_Name:
m_EditorClassIdentifier:
TimeText: {fileID: 1804395153}
introtext: {fileID: 1425714360}
lefttext: {fileID: 1943550231}
righttext: {fileID: 1010492249}
--- !u!1 &1479805049 --- !u!1 &1479805049
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -185287,7 +185471,7 @@ MonoBehaviour:
m_Name: m_Name:
m_EditorClassIdentifier: m_EditorClassIdentifier:
btn: {fileID: 1979437665} btn: {fileID: 1979437665}
Text: {fileID: 2011529104} Text: {fileID: 1425714361}
TextIsShow: 0 TextIsShow: 0
--- !u!1 &1980360539 --- !u!1 &1980360539
GameObject: GameObject:
@ -187882,7 +188066,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!224 &2011529105 --- !u!224 &2011529105
RectTransform: RectTransform:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -200832,35 +201016,35 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3}
propertyPath: m_AnchorMax.y propertyPath: m_AnchorMax.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3}
propertyPath: m_AnchorMin.y propertyPath: m_AnchorMin.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3}
propertyPath: m_AnchoredPosition.x propertyPath: m_AnchoredPosition.x
value: 284 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3}
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: -43 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3}
propertyPath: m_AnchorMax.y propertyPath: m_AnchorMax.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3}
propertyPath: m_AnchorMin.y propertyPath: m_AnchorMin.y
value: 1 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3}
propertyPath: m_AnchoredPosition.x propertyPath: m_AnchoredPosition.x
value: 428 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3}
propertyPath: m_AnchoredPosition.y propertyPath: m_AnchoredPosition.y
value: -43 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 4284489242025471100, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} - target: {fileID: 4284489242025471100, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3}
propertyPath: m_IsActive propertyPath: m_IsActive

View File

@ -21,6 +21,15 @@ public class WebFishingPK : MonoBehaviour
float remainingTime = 0f; float remainingTime = 0f;
public Text TimeText; public Text TimeText;
private float interval = 1f; // ÿÃëµ÷ÓÃÒ»´Î private float interval = 1f; // ÿÃëµ÷ÓÃÒ»´Î
/// <summary>
/// Îı¾ÃèÊö
/// </summary>¡¢
public Text introtext;
/// <summary>
/// ×óÓÒ½ð±Ò
/// </summary>
public Text lefttext;
public Text righttext;
private async void Start() private async void Start()
{ {
TimeText.gameObject.SetActive(false); TimeText.gameObject.SetActive(false);
@ -91,12 +100,15 @@ public class WebFishingPK : MonoBehaviour
{ {
Debug.Log(fishResponse.data.balance); Debug.Log(fishResponse.data.balance);
Debug.Log(fishResponse.data.intro_text); Debug.Log(fishResponse.data.intro_text);
introtext.text = fishResponse.data.intro_text;
Debug.Log(fishResponse.data.countdown); Debug.Log(fishResponse.data.countdown);
TimeText.gameObject.SetActive(true); TimeText.gameObject.SetActive(true);
remainingTime = (float)fishResponse.data.countdown; remainingTime = (float)fishResponse.data.countdown;
Debug.Log(fishResponse.data.countdown_type); Debug.Log(fishResponse.data.countdown_type);
Debug.Log(fishResponse.data.amount_left); Debug.Log(fishResponse.data.amount_left);
lefttext.text= fishResponse.data.amount_left.ToString();
Debug.Log(fishResponse.data.amount_right); Debug.Log(fishResponse.data.amount_right);
righttext.text= fishResponse.data.amount_right.ToString();
} }
break; break;
@ -129,6 +141,9 @@ public class WebFishingPK : MonoBehaviour
Debug.Log(fishResponse2.data.countdown_type); Debug.Log(fishResponse2.data.countdown_type);
Debug.Log(fishResponse2.data.amount_left); Debug.Log(fishResponse2.data.amount_left);
Debug.Log(fishResponse2.data.amount_right); Debug.Log(fishResponse2.data.amount_right);
lefttext.text = fishResponse2.data.amount_left.ToString();
righttext.text = fishResponse2.data.amount_right.ToString();
} }
else else
{ {