移动端蓝牙优化
This commit is contained in:
1 parent
72f254af2a
commit
2f64aa494f
10 files changed
+84
-16
No files matched your search
@@ -5,6 +5,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
using UnityEngine.UI;
|
||||
|
||||
public class MailReceiver : MonoBehaviour
|
||||
@@ -47,7 +48,10 @@ public class MailReceiver : MonoBehaviour
|
||||
timer -= Time.deltaTime;
|
||||
if (timer < 0)
|
||||
{
|
||||
GetMessage();
|
||||
if (!SceneManager.GetActiveScene().name.Contains("Login"))
|
||||
{
|
||||
GetMessage();
|
||||
}
|
||||
timer += 10;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user