Swap order: Shose -> Ping(Phase1) -> ChanraoTuibu -> Ping(Phase2). Final voice is on ChanraoTuibu complete

This commit is contained in:
yangbear
2026-07-11 05:52:25 +08:00
parent 9482410bdf
commit 5428b5d8f0
2 changed files with 9 additions and 15 deletions
-6
View File
@@ -85,17 +85,11 @@ public static class ActionHistory
var h = item.Handler as ShoseClickHandler;
if (h != null) h.ResetState();
}
else if (item.Type == ActionType.ChanraoTuibu)
{
var h = item.Handler as ChanraoTuibuHandler;
if (h != null) h.ResetState();
}
else if (item.Type == ActionType.Woman)
{
var sm = Object.FindObjectOfType<StepManager>();
if (sm != null) sm.DecrementWomanStep();
// 隐藏下一个小球并恢复当前小球
var h = item.Handler as TouchPositionHandler;
if (h != null)
{
+3 -3
View File
@@ -444,8 +444,8 @@ public class PageController : MonoBehaviour
var h = shose.GetComponent<ShoseClickHandler>();
if (h == null) h = shose.AddComponent<ShoseClickHandler>();
h.targetPoint = GameObject.Find("ShosePoint")?.transform;
if (h.nextObject == null)
{
// 强制将鞋子点击后的下一步指向 ping.004
var ping004 = GameObject.Find("ping.004");
if (ping004 == null)
{
@@ -453,7 +453,7 @@ public class PageController : MonoBehaviour
if (mi != null) ping004 = mi.transform.Find("ping.004")?.gameObject;
}
h.nextObject = ping004;
}
// 确保一开始鞋子模型可见,但不闪烁且不可点击
h.enabled = false;
shose.SetActive(true);