28 lines
685 B
C#
28 lines
685 B
C#
|
using ET;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace ET
|
|||
|
{
|
|||
|
[UIEvent(FUIPackage.Common_NetLoading)]
|
|||
|
public class NetLoadingUIEvent : AUIEvent
|
|||
|
{
|
|||
|
public override async ETTask<FUI> OnCreate(FUIComponent fuiComponent)
|
|||
|
{
|
|||
|
if (!(FUIComponent.Instance.Get(FUIPackage.Common_NetLoading) is FUI_NetLoading ui))
|
|||
|
{
|
|||
|
ui = await FUI_NetLoading.CreateInstanceAsync(fuiComponent);
|
|||
|
ui.Name = FUIPackage.Common_NetLoading;
|
|||
|
}
|
|||
|
return ui;
|
|||
|
}
|
|||
|
|
|||
|
public override void OnRemove(FUIComponent fuiComponent)
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
}
|