Fix UI Shader

This commit is contained in:
tym
2025-09-11 15:00:19 +08:00
parent 60f8c15ee3
commit 4ff743ce2b
88 changed files with 6135 additions and 3889 deletions

View File

@@ -12,25 +12,25 @@ namespace MoleMole
private void Awake()
{
CleanNotification();
// CleanNotification();
}
private void OnApplicationPause(bool paused)
{
if (paused)
{
AddGameLocalNotifications();
//AddGameLocalNotifications();
}
else
{
CleanNotification();
//CleanNotification();
}
}
public void OnApplicationQuit()
{
CleanNotification();
AddGameLocalNotifications();
//CleanNotification();
//AddGameLocalNotifications();
}
private void AddGameLocalNotifications()
@@ -115,16 +115,16 @@ namespace MoleMole
{
int num = ++_notificationId;
_notificationIdList.Add(num);
LocalNotificationPlugin.SendNotification(num, time - DateTime.Now, title, text);
//LocalNotificationPlugin.SendNotification(num, time - DateTime.Now, title, text);
}
}
private void CleanNotification()
{
LocalNotificationPlugin.ClearNotifications();
//LocalNotificationPlugin.ClearNotifications();
foreach (int notificationId in _notificationIdList)
{
LocalNotificationPlugin.CancelNotification(notificationId);
//LocalNotificationPlugin.CancelNotification(notificationId);
}
_notificationIdList.Clear();
}