public override void OnUpdate()
    {
        base.OnUpdate();
        EnterStart();
        if (InputDevice.ButtonLeft((int)handlePlayerIndex))
        {
            currentSelectMapIndex = 0;
            UpdateMap();
        }
        else if (InputDevice.ButtonRight((int)handlePlayerIndex))
        {
            currentSelectMapIndex = 1;
            UpdateMap();
        }
        else if (InputDevice.ButtonEnter((int)handlePlayerIndex))
        {
            GameStart();
            return;
        }

        currentRemainderTime -= Time.deltaTime;
        UpdateTime();
        if (currentRemainderTime < 0.0f)
        {
            GameStart();
            return;
        }
    }
 private void EnterStart()
 {
     if (UniGameOptionsDefine.chargeMode == UniInsertCoinsOptionsFile.GameChargeMode.Mode_Free || UniGameOptionsDefine.chargeMode == UniInsertCoinsOptionsFile.GameChargeMode.Mode_InsertCoins)
     {
         if (GameRoot.gameProcessControl.currentProcess.processType == ModalProcessType.Process_SelectMap)
         {
             if (!((RaceSceneControl)GameRoot.CurrentSceneControl).XiongDaIsEnterStart)
             {
                 //Debug.Log("选择地图:::开始游戏1");
                 if (ConsoleCenter.IsCanStartGame(IParkourPlayer_Xiong.PlayerIndex.Index_P1) &&
                     InputDevice.ButtonEnter((int)IParkourPlayer_Xiong.PlayerIndex.Index_P1))
                 {
                     // Debug.Log("选择地图:::已开始游戏1");
                     ConsoleCenter.PlayerStartGamePayCoins(IParkourPlayer_Xiong.PlayerIndex.Index_P1);
                     ((RaceSceneControl)GameRoot.CurrentSceneControl).XiongDaIsEnterStart = true;
                     InputDevice.SetEggNums(0, UniGameOptionsDefine.CoinsEggNums_1P);
                     StandbyProcess.UpdateCoinsUI(IParkourPlayer_Xiong.PlayerIndex.Index_P1);
                 }
             }
             if (!((RaceSceneControl)GameRoot.CurrentSceneControl).Xiong2IsEnterStart)
             {
                 //Debug.Log("选择地图:::开始游戏2");
                 if (ConsoleCenter.IsCanStartGame(IParkourPlayer_Xiong.PlayerIndex.Index_P2) &&
                     InputDevice.ButtonEnter((int)IParkourPlayer_Xiong.PlayerIndex.Index_P2))
                 {
                     //Debug.Log("选择地图:::已开始游戏2");
                     ConsoleCenter.PlayerStartGamePayCoins(IParkourPlayer_Xiong.PlayerIndex.Index_P2);
                     ((RaceSceneControl)GameRoot.CurrentSceneControl).Xiong2IsEnterStart = true;
                     InputDevice.SetEggNums(1, UniGameOptionsDefine.CoinsEggNums_1P);
                     StandbyProcess.UpdateCoinsUI(IParkourPlayer_Xiong.PlayerIndex.Index_P2);
                 }
             }
         }
     }
 }