Compare commits
No commits in common. "99060d0af59ec64cceee7545bf88b94d10b67838" and "d794ccce0e8a39f932ff965c07a19f35da7924ec" have entirely different histories.
99060d0af5
...
d794ccce0e
@ -13,7 +13,6 @@ namespace QFramework.Example
|
|||||||
public partial class UIInstruction : UIPanel
|
public partial class UIInstruction : UIPanel
|
||||||
{
|
{
|
||||||
bool isNo = false;
|
bool isNo = false;
|
||||||
bool isOperation = false;
|
|
||||||
protected override void OnInit(IUIData uiData = null)
|
protected override void OnInit(IUIData uiData = null)
|
||||||
{
|
{
|
||||||
TypeEventSystem.Global.Register<OnModuleQuit>((arg) => Hide()).UnRegisterWhenGameObjectDestroyed(gameObject);
|
TypeEventSystem.Global.Register<OnModuleQuit>((arg) => Hide()).UnRegisterWhenGameObjectDestroyed(gameObject);
|
||||||
@ -47,17 +46,8 @@ namespace QFramework.Example
|
|||||||
});
|
});
|
||||||
ConfirmBtn.onClick.AddListener(() =>
|
ConfirmBtn.onClick.AddListener(() =>
|
||||||
{
|
{
|
||||||
if (isOperation == false)
|
Hide();
|
||||||
{
|
isNo = NoToggle.isOn;
|
||||||
Operation.isOn = true;
|
|
||||||
isOperation = true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
Hide();
|
|
||||||
isNo = NoToggle.isOn;
|
|
||||||
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user