namespace ET.Client { public static class UIHelper { [EnableAccessEntiyChild] public static async ETTask Create(Entity scene, string uiType, UILayer uiLayer) { return await scene.GetComponent().Create(uiType, uiLayer); } [EnableAccessEntiyChild] public static async ETTask Remove(Entity scene, string uiType) { scene.GetComponent().Remove(uiType); await ETTask.CompletedTask; } } }