LoadingBeginEvent_CreateLoadingUI.cs 291 B

123456789101112
  1. using UnityEngine;
  2. namespace ET
  3. {
  4. public class LoadingBeginEvent_CreateLoadingUI : AEvent<EventType.LoadingBegin>
  5. {
  6. public override async ETTask Run(EventType.LoadingBegin args)
  7. {
  8. await UIHelper.Create(args.Scene, UIType.UILoading);
  9. }
  10. }
  11. }