Fix final chanrao audio, smooth camera3 transition, show TipPanel for 2s, and play tuoxiezi video

This commit is contained in:
yangbear
2026-07-10 02:51:52 +08:00
parent 193d93f852
commit ec503bd3f1
4 changed files with 83 additions and 4 deletions
@@ -115,7 +115,9 @@ public class PingClickHandler : MonoBehaviour
int activePingCount = 0;
foreach (var p in remainingPings)
{
if (p.gameObject.activeInHierarchy) activePingCount++;
// In phase 2, finished pings have their collider disabled and _isBlinking set to false.
var col = p.GetComponent<Collider>();
if (col != null && col.enabled) activePingCount++;
}
if (activePingCount == 0)
@@ -148,6 +148,14 @@ public class ShoseClickHandler : MonoBehaviour
{
audioManager.SwitchToCamera3();
}
// 显示 VideoPanel 并播放视频
var videoController = FindObjectOfType<VideoController>(true);
if (videoController != null)
{
videoController.gameObject.SetActive(true);
videoController.PlayVideo("tuoXieZi.mp4");
}
}
public void ResetState()