zxl
/
CTT
forked from Cal/CTT
1
0
Fork 0
CTT/Unity/Assets/HotfixView/UI/TransPointUI/LeftTransPointUI/LeftTransPointUIEvent.cs

26 lines
699 B
C#

using ET;
using System;
using System.Collections.Generic;
namespace ET
{
[UIEvent(FUIPackage.TransPointUI_LeftTransPointUI)]
public class LeftTransPointUIEvent : AUIEvent
{
public override async ETTask<FUI> OnCreate(FUIComponent fuiComponent)
{
if (!(FUIComponent.Instance.Get(FUIPackage.TransPointUI_LeftTransPointUI) is FUI_LeftTransPointUI ui))
{
ui = await FUI_LeftTransPointUI.CreateInstanceAsync(fuiComponent);
ui.Name = FUIPackage.TransPointUI_LeftTransPointUI;
}
return ui;
}
public override void OnRemove(FUIComponent fuiComponent)
{
}
}
}