兑换UI界面的制作跟接口脚本的预留

This commit is contained in:
liuliang 2024-11-27 01:40:31 +08:00
parent cef08d3c9a
commit fc503fa32c
3 changed files with 1931 additions and 419 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,36 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using TMPro;
using UnityEngine.UI;
public class ExchangePanel : MonoBehaviour
{
public TMP_InputField exchangeInput;
public Button CancelBtn;
public Button ConfirmBtn;
// Start is called before the first frame update
void Start()
{
ConfirmBtn.onClick.AddListener(ConfrimPanel);
CancelBtn.onClick.AddListener(CancelPanel);
}
void CancelPanel()
{
Destroy(this.gameObject);
}
async void ConfrimPanel()
{
}
// Update is called once per frame
void Update()
{
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 219dc8e3c58f153489f189f611caa529
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: