diff --git a/Assets/Scripts/Animation/OpeningFlowController.cs b/Assets/Scripts/Animation/OpeningFlowController.cs index 70a4a06..5218621 100644 --- a/Assets/Scripts/Animation/OpeningFlowController.cs +++ b/Assets/Scripts/Animation/OpeningFlowController.cs @@ -97,7 +97,7 @@ public class OpeningFlowController : MonoBehaviour if (_manAnimator != null) _manAnimator.gameObject.SetActive(false); if (_man2Object != null) _man2Object.SetActive(false); if (_womanObject != null) _womanObject.SetActive(true); - if (_manInjuryObject != null) _manInjuryObject.SetActive(true); + if (_manInjuryObject != null) { _manInjuryObject.SetActive(true); DeactivateManInjuryChildren(); } SwitchToCamera2(); onComplete?.Invoke(); return; @@ -148,7 +148,7 @@ public class OpeningFlowController : MonoBehaviour if (_manAnimator != null) { _manAnimator.gameObject.SetActive(false); Debug.Log("[OpeningFlow] man 已隐藏"); } if (_man2Object != null) { _man2Object.SetActive(false); Debug.Log("[OpeningFlow] man2 已隐藏"); } if (_womanObject != null) { _womanObject.SetActive(true); Debug.Log("[OpeningFlow] woman 已显示"); } - if (_manInjuryObject != null) { _manInjuryObject.SetActive(true); Debug.Log("[OpeningFlow] manInjury 已显示"); } + if (_manInjuryObject != null) { _manInjuryObject.SetActive(true); DeactivateManInjuryChildren(); Debug.Log("[OpeningFlow] manInjury 已显示,子级已清理"); } SwitchToCamera2(); yield return new WaitForSeconds(0.3f);