add kcp
This commit is contained in:
@@ -22,5 +22,10 @@ namespace BITKit.UX
|
||||
{
|
||||
Alert.Print(message);
|
||||
}
|
||||
|
||||
public void Execute(string message)
|
||||
{
|
||||
Alert.Print("提示", message);
|
||||
}
|
||||
}
|
||||
}
|
@@ -20,6 +20,15 @@ namespace BITKit.UX
|
||||
{
|
||||
UXAlert.Singleton.PrintAlertMessage(message);
|
||||
}
|
||||
|
||||
public static void Print(string title, string content)
|
||||
{
|
||||
Print(new AlertMessage()
|
||||
{
|
||||
title = title,
|
||||
message = content
|
||||
});
|
||||
}
|
||||
}
|
||||
public class UXAlert : MonoBehaviour
|
||||
{
|
||||
|
Reference in New Issue
Block a user