1
This commit is contained in:
18
Assets/Artists/Scripts/Feel/PlayerDefaultUXPopup.cs
Normal file
18
Assets/Artists/Scripts/Feel/PlayerDefaultUXPopup.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user