| | |
| | | using System.Collections; |
| | | using KTGMGemClient; |
| | | using System.Collections; |
| | | using System; |
| | | using ActionGameFramework.Health; |
| | | using Core.Utilities; |
| | |
| | | { |
| | | if (this.energyCtl && isClose) |
| | | energyCtl.gameObject.SetActive(!play); |
| | | else if(!isClose){ |
| | | else if (!isClose) |
| | | { |
| | | |
| | | } |
| | | |
| | |
| | | { |
| | | m_bInAttackMode = value; |
| | | currentTowerLevel.SetAffectorState(m_bInAttackMode, gridPosition.x); |
| | | currentTowerLevel.SetAttackState(value); |
| | | |
| | | if (value) |
| | | { |
| | | if (opponentSide) |
| | | currentTowerLevel.SetTowerMonsterMat(materialTowerWaitOppo, false); |
| | | else |
| | | currentTowerLevel.SetTowerMonsterMat(materialTowerWaitSelf, false); |
| | | |
| | | // 处理Tower |
| | | this.setTowerState(false); |
| | | |
| | | if (opponentSide) |
| | | { |
| | | OpponentMgr.instance.SetTowerAttID(gridPosition.x, attributeId, this.currentLevel); |
| | |
| | | // 处理塔位边上的界面. |
| | | OnTowerUICtrl(); |
| | | } |
| | | |
| | | } |
| | | } |
| | | |