/// <summary> /// 攻击键按下 /// </summary> public void AttackPressed() { if (fightUnit != null) { fightUnit.StartAttack(); } }