// 受伤 public override void getHurt(DamageDegree damageDegree, float damage, DamageType damageType) { base.getHurt(damageDegree, damage, damageType); Locked = true; Invoke("cure", 0.5f); MyAI.setState(AIState.HURT); }