fix: 模型状态完全恢复 - man Animator重置 + touchPoint闪烁重启
- PlayOpeningFlow/ReturnToHome: 增加 _manAnimator.Play("manIdle") 强制重置动画状态
- TouchPositionHandler: 新增 OnEnable() 重新激活时自动重启闪烁协程+启用MeshRenderer
- 解决返回重来后 man 还停在 manfull、touchPoint 不再闪烁的问题
This commit is contained in:
@@ -54,4 +54,13 @@ public class TouchPositionHandler : MonoBehaviour
|
||||
Debug.Log($"[TouchPosition] {name} → {nextTouchObject.name} 显示");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void OnEnable()
|
||||
{
|
||||
_meshRenderer = GetComponent<MeshRenderer>();
|
||||
if (_meshRenderer != null) _meshRenderer.enabled = true;
|
||||
StopAllCoroutines();
|
||||
StartCoroutine(BlinkMesh());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user