feat: ping/chanrao交互系统 + camera3平滑切换

- PingClickHandler: 蓝色闪烁描边, 点击显示chanrao并隐藏自己, 链式激活下个ping
- ping链: 004→003→002→001 (从4开始)
- TouchPositionHandler: point1点击时黑幕渐入→切camera3→渐出
- PageController: 实验启动时激活ping.004
This commit is contained in:
yangbear
2026-07-02 16:07:02 +08:00
parent 2538eecb6b
commit 393e3da16f
5 changed files with 129 additions and 10 deletions
+8 -1
View File
@@ -281,7 +281,14 @@ public class PageController : MonoBehaviour
}
var touch = GameObject.Find("touchArray");
if (touch != null && touch.transform.childCount > 0) { touch.transform.GetChild(0).gameObject.SetActive(true); Debug.Log("PageController: touchArray/point1 已显示"); }
if (touch != null && touch.transform.childCount > 0) { touch.transform.GetChild(0).gameObject.SetActive(true); Debug.Log("PageController: touchArray/point1 已显示");
// 激活第一个 ping (ping.004)
var mi = GameObject.Find("manInjury");
if (mi != null) {
var ping4 = mi.transform.Find("ping.004");
if (ping4 != null) { ping4.gameObject.SetActive(true); Debug.Log("PageController: ping.004 已激活"); }
} }
var tipPanel = GameObject.Find("TipPanel");
if (tipPanel != null) tipPanel.SetActive(true);