27 lines
634 B
C#
27 lines
634 B
C#
|
using ET;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
|
|||
|
namespace ET
|
|||
|
{
|
|||
|
[UIEvent(FUIPackage.Dialog_NoticeUI)]
|
|||
|
public class NoticeUIEvent : AUIEvent
|
|||
|
{
|
|||
|
public override async ETTask<FUI> OnCreate(FUIComponent fuiComponent)
|
|||
|
{
|
|||
|
if (!(FUIComponent.Instance.Get(FUIPackage.Dialog_NoticeUI) is FUI_NoticeUI ui))
|
|||
|
{
|
|||
|
ui = await FUI_NoticeUI.CreateInstanceAsync(fuiComponent);
|
|||
|
ui.Name = FUIPackage.Dialog_NoticeUI;
|
|||
|
}
|
|||
|
return ui;
|
|||
|
}
|
|||
|
|
|||
|
public override void OnRemove(FUIComponent fuiComponent)
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
}
|