using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; //namespace Assets.Scripts.UI.Prefab.Panel //{ public class PFUIPanel : UIBehaviour { public void OpenURL(string url) { Application.OpenURL(url); } public virtual void Show() { base.gameObject.SetActive(true); } public virtual void Close() { //DestroyImmediate(this.gameObject); this.gameObject.SetActive(false); } public void AddChild(PFUIPanel child) { if(child == null) { return; } child.transform.SetParent(this.transform); } } //}