Compare commits

..

No commits in common. "99060d0af59ec64cceee7545bf88b94d10b67838" and "d794ccce0e8a39f932ff965c07a19f35da7924ec" have entirely different histories.

View File

@ -13,7 +13,6 @@ namespace QFramework.Example
public partial class UIInstruction : UIPanel
{
bool isNo = false;
bool isOperation = false;
protected override void OnInit(IUIData uiData = null)
{
TypeEventSystem.Global.Register<OnModuleQuit>((arg) => Hide()).UnRegisterWhenGameObjectDestroyed(gameObject);
@ -47,17 +46,8 @@ namespace QFramework.Example
});
ConfirmBtn.onClick.AddListener(() =>
{
if (isOperation == false)
{
Operation.isOn = true;
isOperation = true;
}
else
{
Hide();
isNo = NoToggle.isOn;
}
Hide();
isNo = NoToggle.isOn;
});