修改UI关闭通知延迟0.1秒发送
This commit is contained in:
parent
ad227f0582
commit
7f106d7246
@ -92,7 +92,11 @@ namespace QFramework.Example
|
||||
protected override void OnHide()
|
||||
{
|
||||
mData = null;
|
||||
// 防止后面紧接着的Action接收不到此消息 延迟0.1秒发送
|
||||
ActionKit.Delay(0.1f, () =>
|
||||
{
|
||||
StringEventSystem.Global.Send(this.GetType().Name + "Hide");
|
||||
}).StartGlobal();
|
||||
}
|
||||
|
||||
protected override void OnClose()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user