1234567891011121314151617181920212223 |
- using QFramework;
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using UnityEngine.UI;
- public class ErrorLogPanel : MonoSingleton<ErrorLogPanel>
- {
- public GameObject errorPanel;
- public Text errorLog;
- public void Show( string error)
- {
- errorLog.text = error;
- errorPanel.SetActive(true);
- }
- public void Close()
- {
- errorLog.text = "";
- errorPanel.SetActive(false);
- }
- }
|