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

26 lines
705 B
C#

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