123456789101112131415161718192021222324252627 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using TMPro;
- using UnityEngine.UI;
- public class XunJianErrorBtn : MonoBehaviour
- {
- public TMP_Text nameText;
- public Button errorBtn;
- private void Start()
- {
- errorBtn = GetComponent<Button>();
- errorBtn.onClick.AddListener(() =>
- {
- XunJianInitialize.Instance.xjDetails.isUpdata = true;
- });
- }
- public void SetName( string name)
- {
- nameText.text = name;
- }
- }
|