namespace ET.Client { public static class UIHelper { public static async ETTask Create(Scene scene, string uiType, UILayer uiLayer, params object[] param) { return await scene.GetComponent().Create(uiType, uiLayer, param); } public static async ETTask Remove(Scene scene, string uiType) { scene.GetComponent().Remove(uiType); await ETTask.CompletedTask; } public static UI Get(Scene scene, string name) { return scene.GetComponent().Get(name); } } }