添加公告脚本

This commit is contained in:
liuliang 2024-11-27 22:25:05 +08:00
parent 06e0e9e427
commit 3e2ce95a04
2 changed files with 43 additions and 31 deletions

View File

@ -1542,6 +1542,23 @@ RectTransform:
m_CorrespondingSourceObject: {fileID: 768269564691424297, guid: 1e40dae730127c442a1dcf38f3871e09, type: 3}
m_PrefabInstance: {fileID: 1396186559}
m_PrefabAsset: {fileID: 0}
--- !u!1 &1396186561 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 768269564691424298, guid: 1e40dae730127c442a1dcf38f3871e09, type: 3}
m_PrefabInstance: {fileID: 1396186559}
m_PrefabAsset: {fileID: 0}
--- !u!114 &1396186562
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1396186561}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b10c5aab2252acd4cb5fe9914dfc6d44, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &1510484085
GameObject:
m_ObjectHideFlags: 0
@ -2145,35 +2162,35 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 25113033217063996, guid: 05a39ff91f9f6e540a25c456675c0f5f, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 25113033217063996, guid: 05a39ff91f9f6e540a25c456675c0f5f, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 25113033217063996, guid: 05a39ff91f9f6e540a25c456675c0f5f, type: 3}
propertyPath: m_AnchoredPosition.x
value: 585
value: 0
objectReference: {fileID: 0}
- target: {fileID: 25113033217063996, guid: 05a39ff91f9f6e540a25c456675c0f5f, type: 3}
propertyPath: m_AnchoredPosition.y
value: -63.5
value: 0
objectReference: {fileID: 0}
- target: {fileID: 25113033349338467, guid: 05a39ff91f9f6e540a25c456675c0f5f, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 25113033349338467, guid: 05a39ff91f9f6e540a25c456675c0f5f, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 25113033349338467, guid: 05a39ff91f9f6e540a25c456675c0f5f, type: 3}
propertyPath: m_AnchoredPosition.x
value: 178
value: 0
objectReference: {fileID: 0}
- target: {fileID: 25113033349338467, guid: 05a39ff91f9f6e540a25c456675c0f5f, type: 3}
propertyPath: m_AnchoredPosition.y
value: -63.5
value: 0
objectReference: {fileID: 0}
- target: {fileID: 1575974285488541783, guid: 05a39ff91f9f6e540a25c456675c0f5f, type: 3}
propertyPath: m_AnchorMax.y
@ -2781,35 +2798,35 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 3654066873632944871, guid: 561440df45b228349a409964d7f37450, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3654066873632944871, guid: 561440df45b228349a409964d7f37450, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3654066873632944871, guid: 561440df45b228349a409964d7f37450, type: 3}
propertyPath: m_AnchoredPosition.x
value: 178
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3654066873632944871, guid: 561440df45b228349a409964d7f37450, type: 3}
propertyPath: m_AnchoredPosition.y
value: -63.5
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3654066873765354424, guid: 561440df45b228349a409964d7f37450, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3654066873765354424, guid: 561440df45b228349a409964d7f37450, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3654066873765354424, guid: 561440df45b228349a409964d7f37450, type: 3}
propertyPath: m_AnchoredPosition.x
value: 585
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3654066873765354424, guid: 561440df45b228349a409964d7f37450, type: 3}
propertyPath: m_AnchoredPosition.y
value: -63.5
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4627491945965558696, guid: 561440df45b228349a409964d7f37450, type: 3}
propertyPath: m_AnchorMax.y
@ -2911,35 +2928,35 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 3165436776801491546, guid: 9613b111a8c23e24fa26e72901042568, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3165436776801491546, guid: 9613b111a8c23e24fa26e72901042568, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3165436776801491546, guid: 9613b111a8c23e24fa26e72901042568, type: 3}
propertyPath: m_AnchoredPosition.x
value: 178
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3165436776801491546, guid: 9613b111a8c23e24fa26e72901042568, type: 3}
propertyPath: m_AnchoredPosition.y
value: -63.5
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3165436776933389061, guid: 9613b111a8c23e24fa26e72901042568, type: 3}
propertyPath: m_AnchorMax.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3165436776933389061, guid: 9613b111a8c23e24fa26e72901042568, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3165436776933389061, guid: 9613b111a8c23e24fa26e72901042568, type: 3}
propertyPath: m_AnchoredPosition.x
value: 585
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3165436776933389061, guid: 9613b111a8c23e24fa26e72901042568, type: 3}
propertyPath: m_AnchoredPosition.y
value: -63.5
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4497450689349361518, guid: 9613b111a8c23e24fa26e72901042568, type: 3}
propertyPath: m_AnchorMax.y

View File

@ -4,7 +4,7 @@ using UnityEngine;
public class AnniyncementPanel : MonoBehaviour
{
UserInfo userInfo = new UserInfo();
// Start is called before the first frame update
void Start()
{
@ -13,12 +13,7 @@ public class AnniyncementPanel : MonoBehaviour
async void Init()
{
string response = "";//²âÊÔ
//queryPlayerInfo
// string body = "{\"userId\":" + + ",\"voluteCoin\":" + int.Parse(donatePanelItem.GiftQuantity.text) + "}";
// Debug.Log(body);
// response = await web.SendRequest(web.URL + "/snail/transfer/voluteCoin", "POST", body, Global.global.CreateHeaders());
}