Fix final chanrao audio, smooth camera3 transition, show TipPanel for 2s, and play tuoxiezi video
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user