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