public override void CancelAI() { base.CancelAI(); if (!aiPath.TargetReached) { aiPath.CancelCurrentPath(); aiPath.canMove = false; } }