|
|
@@ -259,6 +259,15 @@ public class BluetoothAim : MonoBehaviour
|
|
|
{
|
|
|
if (status != BluetoothStatusEnum.ConnectSuccess) return;
|
|
|
InitWhenConenct();
|
|
|
+ if (CommonConfig.StandaloneMode)
|
|
|
+ {
|
|
|
+ if (UnityEngine.SceneManagement.SceneManager.GetActiveScene().name == "Home"
|
|
|
+ && PersistenHandler.ins.menuBackCtr.views.Count == 0
|
|
|
+ && !FindObjectOfType<NewUserGuider>())
|
|
|
+ {
|
|
|
+ ViewMgr.Instance.ShowView<GameStartView>();
|
|
|
+ }
|
|
|
+ }
|
|
|
});
|
|
|
};
|
|
|
bluetoothHelper.OnConnectionFailed += (BluetoothHelper helper) =>
|