public void OnClickDown() { btnImage.color = Color.gray; if (gameObject.tag.Equals("NormalAttackButton")) { //普通攻击 RoleBase _role = BattleCon.Instance.roleManage.GetRoleFromBattleID(BattleData.Instance.battleID); if (_role.IsCloudAttack()) { BattleData.Instance.UpdateRightOperation(PBBattle.RightOpType.rop1, 0, 0); } } else if (gameObject.tag.Equals("BtnGameOver")) { BattleCon.Instance.OnClickGameOver(); } }