using System.Collections.Generic; using Cysharp.Threading.Tasks; using UnityEngine; namespace YIUIFramework { /// /// YIUI 面板管理器 /// public partial class PanelMgr : MgrSingleton { //低品质 将会影响动画等逻辑 也可以根据这个参数自定义一些区别 public static bool IsLowQuality = false; //绑定初始化情况 public static bool BindInit { private set; get; } protected override async UniTask MgrAsyncInit() { BindInit = UIBindHelper.InitAllBind(); if (!await InitRoot()) return false; InitSafeArea(); return true; } protected override void OnDispose() { ResetRoot(); OnBlockDispose(); } } }