| | |
| | | needClickPS.Stop(); |
| | | } |
| | | } |
| | | |
| | | public void SetPS(bool isOn) |
| | | { |
| | | if (needClickPS.gameObject.activeSelf != isOn) |
| | | { |
| | | needClickPS.gameObject.SetActive(isOn); |
| | | } |
| | | |
| | | } |
| | | float countDownTime = 0f; |
| | | float countDownLimit = 5f; |
| | | public ParticleSystem needClickPS;//提示点击按钮 |
| | |
| | | if (gameUI.isBuilding) |
| | | gameUI.CancelGhostPlacement(); |
| | | |
| | | // if (EndlessUIStart.instance.GameStartTime >= JsonDataCenter.DOUBLE_GEM_TIME) |
| | | // { |
| | | // if (level == -1) |
| | | level = Mathf.Min(EndlessGameUI.instance.MinLevel, 1); |
| | | // } |
| | | // else |
| | | // { |
| | | // if (level == -1) |
| | | // level = 0; |
| | | // } |
| | | if (level == -1) |
| | | level = Mathf.Min(EndlessGameUI.instance.MinLevel, 1); |
| | | |
| | | return gameUI.RandomPlaceTower(tower, posx, posy, level, cost, false, isFirstAppear); |
| | | } |