去掉ping和單點登錄前端

This commit is contained in:
Caiyanpeng committed 2021-11-12 16:54:55 +08:00
1 parent d754ff3b15
commit 492040d382
5 files changed
+48 -44

No files matched your search

+3 -3
View File
@@ -10,7 +10,7 @@ using System.Linq;
using Assets.Scenes.Ride.Scripts;
[HelpURL("https://docs.microsoft.com/en-us/appcenter/sdk/crashes/unity")]
public class AppCenterBehavior : MonoSingleton<AppCenterBehavior>
public class AppCenterBehavior : MonoBehaviour
{
public static event Action InitializingServices;
public static event Action InitializedAppCenterAndServices;
@@ -25,8 +25,8 @@ public class AppCenterBehavior : MonoSingleton<AppCenterBehavior>
// Make sure that App Center have only one instance.
if (_instance != null)
{
//Debug.LogError("App Center Behavior should have only one instance!");
//DestroyImmediate(gameObject);
Debug.LogError("App Center Behavior should have only one instance!");
DestroyImmediate(gameObject);
return;
}
_instance = this;