结构大修改,改成朴实无华的结构,不过度架构。能跑就行
This commit is contained in:
@@ -47,11 +47,11 @@ namespace NBF
|
||||
protected override void OnInit()
|
||||
{
|
||||
this.AutoAddClick(OnClick);
|
||||
ShowAnim = this.ShowCenterScaleBig;
|
||||
HideAnim = this.HideCenterScaleBig;
|
||||
// HideAnim = this.HideCenterScaleBig;
|
||||
// ShowAnim = this.ShowCenterScaleBig;
|
||||
IsModal = true;
|
||||
IsDontBack = true;
|
||||
Game.Input.OnUICanceled += OnUICanceled;
|
||||
InputManager.OnUICanceled += OnUICanceled;
|
||||
}
|
||||
|
||||
protected override void OnShow()
|
||||
@@ -80,7 +80,7 @@ namespace NBF
|
||||
protected override void OnDestroy()
|
||||
{
|
||||
base.OnDestroy();
|
||||
Game.Input.OnUICanceled -= OnUICanceled;
|
||||
InputManager.OnUICanceled -= OnUICanceled;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user