using QFramework; using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class ErrorLogPanel : MonoSingleton { 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); } }