fix: chanraotuibu激活加诊断日志+InitPingSteps补齐上/下一步支持
This commit is contained in:
@@ -76,13 +76,17 @@ public class TouchPositionHandler : MonoBehaviour
|
||||
if (sm != null) sm.RecordWomanStep(stepIndex);
|
||||
|
||||
// point1 点击后先激活 chanraotuibu
|
||||
Debug.Log("[TouchPosition] stepIndex=" + stepIndex);
|
||||
if (stepIndex == 1)
|
||||
{
|
||||
var mi = GameObject.Find("manInjury");
|
||||
Debug.Log("[TouchPosition] manInjury found=" + (mi != null));
|
||||
if (mi != null)
|
||||
{
|
||||
var ct = mi.transform.Find("chanraotuibu");
|
||||
if (ct != null) { ct.gameObject.SetActive(true); Debug.Log("[TouchPosition] chanraotuibu 已激活"); }
|
||||
Debug.Log("[TouchPosition] chanraotuibu found=" + (ct != null));
|
||||
if (ct != null) { ct.gameObject.SetActive(true); Debug.Log("[TouchPosition] chanraotuibu 已激活");
|
||||
FindObjectOfType<StepManager>()?.InitPingSteps(); }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user