feat: ping/chanrao交互系统 + camera3平滑切换
- PingClickHandler: 蓝色闪烁描边, 点击显示chanrao并隐藏自己, 链式激活下个ping - ping链: 004→003→002→001 (从4开始) - TouchPositionHandler: point1点击时黑幕渐入→切camera3→渐出 - PageController: 实验启动时激活ping.004
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user