此前经 other.transform.root 查 IDamageable,玩家被临时挂到其他 父物体(如移动平台)下时 root 非玩家根节点而漏判死亡,导致致死 触碰仍 Raise EVT_CheckpointRespawn 与死亡流程撞车。改为 other.GetComponentInParent 从 HurtBox 自身向上查找,任何层级 结构下死亡均只走死亡流程,存活才回溯检查点。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
6.0 KiB
6.0 KiB