BITFALL/Assets/Artists/Scripts/Feel/PlayerDefaultUXPopup.cs

19 lines
399 B
C#
Raw Normal View History

2023-12-03 17:35:43 +08:00
using System.Collections;
using System.Collections.Generic;
using BITKit;
using BITKit.UX;
using UnityEngine;
namespace BITFALL.Feel
{
[CustomType(typeof(IUXPopup))]
public class PlayerDefaultUXPopup : MonoBehaviour,IUXPopup
{
[SerializeReference, SubclassSelector] private IUXPopup popup;
public void Popup(string content, float duration = 3)
{
popup.Popup(content,duration);
}
}
}