26 lines
699 B
C#
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)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|