1
This commit is contained in:
@@ -13,6 +13,19 @@ namespace BITKit.UX
|
||||
public string message = "message";
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
public sealed class UXAlertPopup : IUXPopup
|
||||
{
|
||||
public void Popup(string content, float duration = 3f)
|
||||
{
|
||||
Alert.Print(new AlertMessage()
|
||||
{
|
||||
title = "Alert",
|
||||
message = content
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public static class Alert
|
||||
{
|
||||
public static void Print(AlertMessage message)
|
||||
|
Reference in New Issue
Block a user