fix: 移除UIManager重复按钮绑定+InteractionSystem误触发——根因修复
根因: UIManager._btnLimbFixation/_btnSplintFixation调用SwitchFixation 与PageController的OnFixationSelected双重触发,StepManager._mode被设为Learn 导致OnStepInteractionComplete→NextStep→WomanStepNext自动跳过步骤。 修复: 1. UIManager.BindButtons移除_btnLimbFixation/_btnSplintFixation的SwitchFixation绑定 2. ExperimentFlowCoordinator.OnAnywhereClicked增加无Config步骤时忽略的注释守卫
This commit is contained in:
@@ -94,12 +94,10 @@ public class ExperimentFlowCoordinator : MonoBehaviour
|
||||
private void OnAnywhereClicked()
|
||||
{
|
||||
var step = _stepManager.GetCurrentStep();
|
||||
// 无 Config 步骤数据时忽略(走 woman 自由步进模式)
|
||||
if (step == null) return;
|
||||
|
||||
if (step.CompleteType == StepCompleteType.ClickAnywhere)
|
||||
{
|
||||
_stepManager.OnStepInteractionComplete(1f);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user