| | |
| | | float halfSecondTimer = 0;
|
| | | private void LateUpdate()
|
| | | {
|
| | | if (!(StageManager.Instance.CurrentStage is DungeonStage))
|
| | | {
|
| | | return;
|
| | | }
|
| | |
|
| | | secondTimer += Time.deltaTime;
|
| | | halfSecondTimer += Time.deltaTime;
|
| | | if(halfSecondTimer >= 0.5f)
|
| | |
| | | if (list != null && list.Count > 0)
|
| | | {
|
| | | playerPack.SendEquipdevourQuest();
|
| | | return;
|
| | | }
|
| | | }
|
| | |
|
| | | if (HangUpSetModel.Instance.GetBool(HangUpAutoBoolType.isAutoSell))
|
| | | if (HangUpSetModel.Instance.GetBool(HangUpAutoBoolType.isAutoSell) && modelInterface.GetSellItemList().Count > 0)
|
| | | {
|
| | | modelInterface.SendOneKeySellQuest(modelInterface.GetSellItemList());
|
| | | return;
|
| | | }
|
| | | }
|
| | | }
|