This commit is contained in:
taosuqi 2026-02-05 09:26:50 +08:00
parent c21d37f0a3
commit a415dfec0b
2 changed files with 3822 additions and 44 deletions

File diff suppressed because it is too large Load Diff

View File

@ -15,9 +15,12 @@ public class UI_ExperimentChooesPanel : BasePanel
{ {
} }
protected override void OnClick(string btnPath) protected override void OnChangeToggle(string btnPath, bool isOn)
{ {
base.OnClick(btnPath); base.OnClick(btnPath);
if (isOn)
{
Debug.Log("当前点击的科目是" + btnPath);
switch (btnPath) switch (btnPath)
{ {
case "5-1-1": case "5-1-1":
@ -52,6 +55,7 @@ public class UI_ExperimentChooesPanel : BasePanel
break; break;
} }
} }
}
} }