26 lines
456 B
C#
Raw Normal View History

2021-03-30 14:23:41 +08:00
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
//{
2021-04-01 09:33:19 +08:00
public class PFUIPanel : UIBehaviour
{
public void OpenURL(string url)
2021-03-30 14:23:41 +08:00
{
2021-04-01 09:33:19 +08:00
Application.OpenURL(url);
}
2021-03-30 14:23:41 +08:00
2021-04-01 09:33:19 +08:00
public virtual void Close()
{
DestroyImmediate(this.gameObject);
2021-03-30 14:23:41 +08:00
}
2021-04-01 09:33:19 +08:00
}
2021-03-30 14:23:41 +08:00
//}