去掉ping和單點登錄前端
This commit is contained in:
1 parent
d754ff3b15
commit
492040d382
5 files changed
+48
-44
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user