NLDClient-yudde/ProjectNLD/Assets/Code/Scripts/Framework/UI/UIManager.cs

418 lines
44 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using System;
using Obfuz;
using PhxhSDK;
/// <summary>
/// 项目特定的UI管理器雪松项目
/// 继承 UIManager 并提供项目特定的窗口配置
/// </summary>
[ObfuzIgnore]
public class UIManager : UIManagerBase, IGlobal
{
private static UIManager _instance;
public static UIManager Instance
{
get
{
if (_instance == null)
{
_instance = new UIManager();
}
return _instance;
}
}
/// <summary>
/// 构造函数:注入项目特定依赖
/// </summary>
public UIManager()
{
// ✅ 设置基类的全局单例引用,让 PhxhSDK 层能访问此实例
UIManagerBase.Instance = this;
// ✅ 注入窗口工厂(负责创建窗口控制器实例)
SetWindowFactory(new UIWindowReflectionFactory());
SetUIAnimPlayer(new UIAnimationPlayer());
// ✅ 注入事件桥接器(负责与项目事件系统通信)
SetEventBridge(new Framework.UIEventBridge());
// ✅ 注入截图配置用于UI背景模糊等功能
SetScreenshotConfig(new ScreenshotConfig
{
BlurMaterialPath = Framework.Constants.BLUR_MAT_PATH,
EnableBlur = true,
ResolutionScale = 0.5f
});
// ✅ 配置全局返回键策略(当所有窗口都不处理返回键时)
GlobalBackStrategy = new PhxhSDK.UIBackStrategy_ShowConfirm(UINameConst.UIBackReturn);
// ✅ 注册项目特定的窗口返回键策略
Framework.UIBackStrategyInitializer.RegisterProjectStrategies();
}
/// <summary>
/// 注册所有窗口元数据(雪松项目特定实现)
/// </summary>
protected override void _AllWindowMeta()
{
_WindowMeta(UINameConst.UIDebugShowID, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, false);
// basic
_WindowMeta(UINameConst.UILogin, UICanvasLayer.ForeGround, UIVisibilityStrategy.None, CameraMode.Shut,false, false);
//_WindowMeta(UINameConst.UIAirView, UICanvasLayer.Tips, UIVisibilityStrategy.None, true, false, false);
_WindowMeta(UINameConst.UIAirView, UICanvasLayer.Guide, UIVisibilityStrategy.None, CameraMode.None, true, false, animPresetType: UIAnimPresetType.Level3);
//_WindowMeta(UINameConst.UIScrollNotice, UICanvasLayer.Tips, UIVisibilityStrategy.None, true, false, false);
_WindowMeta(UINameConst.UIScrollNotice, UICanvasLayer.System, UIVisibilityStrategy.None, CameraMode.None, false, false);
_WindowMeta(UINameConst.UIClickSheild, UICanvasLayer.Tips, UIVisibilityStrategy.None, CameraMode.Shut,false, false);
_WindowMeta(UINameConst.UI_Update, UICanvasLayer.Tips, UIVisibilityStrategy.None, CameraMode.Shut, false, false);
//_WindowMeta(UINameConst.UI_LogIn, UICanvasLayer.Normal, UIVisibilityStrategy.None, true, false, false);
_WindowMeta(UINameConst.UI_LoadingProgressInterface, UICanvasLayer.System, UIVisibilityStrategy.None, CameraMode.Shut,false, false, UIBackStrategyType.Intercept); // Loading界面不可中断
_WindowMeta(UINameConst.UI_AgeTip, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut,false, false);
_WindowMeta(UINameConst.UI_LoginTips, UICanvasLayer.System, UIVisibilityStrategy.None, CameraMode.Shut,false, false);
_WindowMeta(UINameConst.UI_LoadingInterface, UICanvasLayer.System, UIVisibilityStrategy.None, CameraMode.Shut, false, false, UIBackStrategyType.Intercept); // Loading界面不可中断
_WindowMeta(UINameConst.UIReconnect, UICanvasLayer.System, UIVisibilityStrategy.None, CameraMode.None, false, false, UIBackStrategyType.Intercept); // 重连界面不可中断
_WindowMeta(UINameConst.UIReconnectConfirm, UICanvasLayer.System, UIVisibilityStrategy.None, CameraMode.Shut,false, false);
_WindowMeta(UINameConst.UIReconnectNotice, UICanvasLayer.System, UIVisibilityStrategy.None, CameraMode.Shut,false, true, animPresetType:UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UIBackReturn, UICanvasLayer.System, UIVisibilityStrategy.None, CameraMode.Shut,true, needScreenshot: true, backStrategy: UIBackStrategyType.Intercept); // 退出确认界面本身不响应返回键
_WindowMeta(UINameConst.UI_StartGameInterface, UICanvasLayer.BackGround, UIVisibilityStrategy.Occlusion, CameraMode.Shut,false, false, UIBackStrategyType.ShowExitConfirm); // 启动界面显示退出确认
_WindowMeta(UINameConst.UINoticeTwo, UICanvasLayer.System, UIVisibilityStrategy.None, CameraMode.None, false, true);
_WindowMeta(UINameConst.UINewLogin, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut,false, false);
//通用
_WindowMeta(UINameConst.UI_GetItemWindow, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, true, needScreenshot: true, UIBackStrategyType.Intercept, UIAnimPresetType.Level3);
_WindowMeta(UINameConst.UI_GetItemWindow_New2, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, true, needScreenshot: true, UIBackStrategyType.Intercept, UIAnimPresetType.Level3);
_WindowMeta(UINameConst.UI_MonthlyAnim, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_DescriptionTip, UICanvasLayer.Tips, UIVisibilityStrategy.None, CameraMode.Shut, true, needScreenshot: true, UIBackStrategyType.Intercept, UIAnimPresetType.Level3);
_WindowMeta(UINameConst.UI_ConfirmClaimMedal, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, needScreenshot: true, UIBackStrategyType.Intercept);
_WindowMeta(UINameConst.UINoticeOne, UICanvasLayer.System, UIVisibilityStrategy.None, CameraMode.None, false, true, UIBackStrategyType.Intercept);
_WindowMeta(UINameConst.UI_Transition, UICanvasLayer.System, UIVisibilityStrategy.None, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_BuyEnergy, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_BuyEnergy_New, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UITaskTip, UICanvasLayer.Tips, UIVisibilityStrategy.None, CameraMode.None, false, false);
_WindowMeta(UINameConst.UI_Tip, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_Confirm, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_CommonRule, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
// 内购
_WindowMeta(UINameConst.UI_Pay, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, needScreenshot: true);
_WindowMeta(UINameConst.UI_CreditPointExchangePanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_CreditPointExchangeTip, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, needScreenshot: true);
//退款惩戒
_WindowMeta(UINameConst.UIChargeBack,UICanvasLayer.Normal,UIVisibilityStrategy.None,CameraMode.None,false,true,UIBackStrategyType.ShowExitConfirm);
_WindowMeta(UINameConst.UIChargeBackNum,UICanvasLayer.Normal,UIVisibilityStrategy.None,CameraMode.None,false,true,UIBackStrategyType.Intercept);
//战斗
_WindowMeta(UINameConst.UI_TeamFight, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UI_BattleRestart, UICanvasLayer.Tips, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, true, animPresetType: UIAnimPresetType.Level3);
_WindowMeta(UINameConst.UI_FightTeam, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UIFightTeamCommandeSkill, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UI_FightGridTip, UICanvasLayer.ForeGround, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UIFightClock, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UIFightClockDynamic, UICanvasLayer.BackGround, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UI_Pause, UICanvasLayer.Tips, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UI_FightFailure, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UIPassGame, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UI_PassGame_Sweep, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UIFightScene, UICanvasLayer.BackGround, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.Intercept);
_WindowMeta(UINameConst.UIStoryMain, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.Intercept);
_WindowMeta(UINameConst.UI_RoleFirstShow, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.Intercept);
_WindowMeta(UINameConst.UISkipPlot, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UIMissionWin, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.None, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UIFightPoster, UICanvasLayer.ForeGround, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UI_FightStart, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UIStoryFightMain, UICanvasLayer.ForeGround, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UIFightTarget, UICanvasLayer.BackGround, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UISkillPut, UICanvasLayer.Tips, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UI_WaveTip, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UIPressCommander, UICanvasLayer.Tips, UIVisibilityStrategy.None, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UICommonSubtitle, UICanvasLayer.Tips, UIVisibilityStrategy.None, CameraMode.None, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UI_LevelBlack, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UI_CharacterTrialTip, UICanvasLayer.Tips, UIVisibilityStrategy.None, CameraMode.None, false, true);
#region 旧军团战
_WindowMeta(UINameConst.UI_LegionBattleScene, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.Intercept);
_WindowMeta(UINameConst.UI_LegionBattleMain, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_LegionBattleCommand, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_LegionBattleNotice, UICanvasLayer.Tips, UIVisibilityStrategy.None, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_LegionBattleSettle, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, true);
_WindowMeta(UINameConst.UI_LegionBattleReport, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_LegionCharacterInfo, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_LegionBattleBaseInfo, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_LegionBattleBreathe, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.Intercept);
#endregion
#region 军团战
_WindowMeta(UINameConst.UI_LB_Scene, UICanvasLayer.BackGround, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.Intercept);
_WindowMeta(UINameConst.UI_LB_Main, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_LB_EditorTeam, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_LB_BattlePredict, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_LB_Battling, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_LB_BattleRes, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_LB_Pause, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_LB_Recovery, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_LB_RecoveryTip, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_LB_BuyRecovery, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_LB_GiveUpTip, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_LB_Fail, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_LB_RuleTip, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
#endregion
//边境防卫活动
_WindowMeta(UINameConst.UI_BorderDefenseSupport, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_Popup_BorderDefenseSupport, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, true,animPresetType: UIAnimPresetType.Level1);
//养成
_WindowMeta(UINameConst.UISelectCharacter, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: false);
_WindowMeta(UINameConst.UIShowAllCharacterSort, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
//_WindowMeta(UINameConst.UI_Cultivate, UICanvasLayer.Normal, UIVisibilityStrategy.HideBelow, true, true);
_WindowMeta(UINameConst.UI_CultivateChange, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_CultivateDetailNew, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_CulDetailNewTemp, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_Cultivate_ProAndInfo, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, false);// 这两个界面是
_WindowMeta(UINameConst.UI_Cultivate_Detail, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, false);// 从Cultivate界面内部打开的
_WindowMeta(UINameConst.UILevelUp, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
//_WindowMeta(UINameConst.UIFavorable, UICanvasLayer.Normal, UIVisibilityStrategy.HideBelow, true, true);
_WindowMeta(UINameConst.UI_FavorPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_FavorItemUsing, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_FavorCharacter, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UIPoster, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
//_WindowMeta(UINameConst.UIRank, UICanvasLayer.Normal, UIVisibilityStrategy.HideBelow, true, true);
//_WindowMeta(UINameConst.UIAdvance, UICanvasLayer.Normal, UIVisibilityStrategy.HideBelow, true, true);
_WindowMeta(UINameConst.UIRankNew, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UIAdvanceNew, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UISkillLevelUpNew, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_SkillInfo, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level3);
_WindowMeta(UINameConst.UIUsingFavorItem, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_VehicleChoose, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_VehicleCultivate, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
//_WindowMeta(UINameConst.UI_VehicleCultivateNew, UICanvasLayer.Normal, UIVisibilityStrategy.HideBelow, false, true);
_WindowMeta(UINameConst.UI_VehicleCultivatePro, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_VehicleTechTree, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_VehiclePartTree, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_VehicleSkin, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_GetVehiclePanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_VehiclePartTreeDetail, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_VehicleLevelUp, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_SkinChange, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UIJobIntroducePanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level1);
//_WindowMeta(UINameConst.UICharacterRegionIntroducePanel, UICanvasLayer.Normal, UIVisibilityStrategy.HideBelow, true, true);
_WindowMeta(UINameConst.UI_AttributeDetail, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UI_AttributeClickInfo, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level3);
_WindowMeta(UINameConst.UILevelUpNew, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
//主界面、设置
_WindowMeta(UINameConst.UIRedPointTest, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UITeamInfo, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_TeamSelect, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UITeamMarkChoose, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_TeamMarkChooseTwo, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, needScreenshot: true);
_WindowMeta(UINameConst.UI_MainPanel, UICanvasLayer.BackGround, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.ShowExitConfirm);
_WindowMeta(UINameConst.UI_Setting, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, true, animPresetType: UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UI_Setting_New,UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, true, animPresetType: UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UI_NoticeSetting, UICanvasLayer.Tips, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_CdkChangePanel, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_Notice, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, needScreenshot: true);
_WindowMeta(UINameConst.UI_Email, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UI_Email_New,UICanvasLayer.Normal,UIVisibilityStrategy.Occlusion,CameraMode.Shut,true,needScreenshot:true,animPresetType:UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UITask, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_CameraChange, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_DailyBonus, UICanvasLayer.ForeGround, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_CommanderSkillInfo, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_MoralePatch,UICanvasLayer.Normal,UIVisibilityStrategy.Occlusion,CameraMode.Shut,false,needScreenshot:false);
_WindowMeta(UINameConst.UI_MoralePatchInfo, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_TeamAndSkillSelect, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, needScreenshot: false);
_WindowMeta(UINameConst.UI_SelectCommadnerSkill, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, true);
_WindowMeta(UINameConst.UICameraAndPosterChange, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);//FullScreen会导致调整看板娘操作时UI不显示
_WindowMeta(UINameConst.UI_ItemCategory, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
//_WindowMeta(UINameConst.UI_ItemDetailInfo, UICanvasLayer.Normal, UIVisibilityStrategy.HideBelow, true, true);
//_WindowMeta(UINameConst.UI_ItemSourcePanel, UICanvasLayer.Normal, UIVisibilityStrategy.HideBelow, true, true);
_WindowMeta(UINameConst.UI_UsingItem, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_popup_UsingItem, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.None, false, needScreenshot: false);
//_WindowMeta(UINameConst.UI_GiftItem, UICanvasLayer.Normal, UIVisibilityStrategy.HideBelow, true, true);
_WindowMeta(UINameConst.UI_ItemUsing_Change, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UI_PlayerInfo, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_BindAccount, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_EditIntroduction, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_EditBirthday, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_WriteTeamName, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_HeadIconChoose, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UI_ItemExchange, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_Activity, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_FlareActivity, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_SevenDayTask, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_Main_Dispatchlist, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.None, true, needScreenshot: true);
//抽卡
_WindowMeta(UINameConst.UI_DrawResultCharacters, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_RaffleAnim, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false, UIBackStrategyType.Intercept);
_WindowMeta(UINameConst.UI_DrawPannelCharacter, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, false, UIBackStrategyType.Intercept);
_WindowMeta(UINameConst.UI_DrawMain, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_ExchangePanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_CardPoolDetails, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType:UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UI_PlayVideo, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_PVAnimaPlay, UICanvasLayer.Guide, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UIGiftCode, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_DrawPanelRoleInfo, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_DrawPanelRoleInfo_New, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_RaffleExChange, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_DrawHistoryPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, true, animPresetType:UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_DrawCoinExchange,UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, true, animPresetType:UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_DrawCoinExchangeTip, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_DrawConfirmDialog, UICanvasLayer.Tips, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
#region 靶场
_WindowMeta(UINameConst.UI_FiringRangeSelect, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true,UIBackStrategyType.Intercept);
_WindowMeta(UINameConst.UI_FiringRangeInfo, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false,UIBackStrategyType.Intercept);
_WindowMeta(UINameConst.UI_FiringRangeDetail, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true,UIBackStrategyType.Intercept);
#endregion
//关卡
_WindowMeta(UINameConst.UI_LevelSelect, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, needScreenshot: false);
_WindowMeta(UINameConst.UI_MainStarReward, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true,animPresetType:UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UI_WarScoreReward, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_BeforeFight, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_LevelDetail, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UI_WeatherTip, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
//PVP
_WindowMeta(UINameConst.UI_PVPDefendPrepare, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_PVPMain, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, needScreenshot: false);
_WindowMeta(UINameConst.UI_PVPRankInfo, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UI_PVPRankInformation, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UI_PVPRankReward, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UI_PVPSettlement, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UI_PVPWarning, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_PVPEnemyInfo, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_PVPRecord, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_PVPExitTip, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_PVPRule, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level3);
_WindowMeta(UINameConst.UI_PVPSettle, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_PVPStart, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
//商店
_WindowMeta(UINameConst.UIGiftCodeAwards, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_Purchase, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_Shop, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_ExChangeShopRefresh, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, true);
_WindowMeta(UINameConst.UI_ExChangeShopPurchase, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_GiftShopPurchase, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_AdvanceAccountPurchase, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_ChargeShopPurchase, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_ClothShopPurchase, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, true);
_WindowMeta(UINameConst.UI_AdvanceAccountShop, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_AdvanceAccountGet, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, true);
_WindowMeta(UINameConst.AdvanceAccountRule, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, true);
//营地
_WindowMeta(UINameConst.UI_Camp, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, false, UIBackStrategyType.ShowExitConfirm);
_WindowMeta(UINameConst.UI_CampSecond, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
_WindowMeta(UINameConst.UI_TrainingPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_TrainingPanel_New,UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_DispatchPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_DispatchDetail, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, true, animPresetType: UIAnimPresetType.Level1);
_WindowMeta(UINameConst.UI_DispatchEditTeam, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_DispatchEditorTeam_list_new, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_DispatchEditorTeam_new, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, true);
_WindowMeta(UINameConst.UI_DispatchTip, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, true, true, animPresetType: UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_DispatchFinishTip,UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.None, true, false, animPresetType: UIAnimPresetType.Level3);
//军团
_WindowMeta(UINameConst.UI_LegionSquarePanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_LegionInfoPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_LegionCreatePanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_MemberOperationPanel, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_LegionSettingPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_LegionApplyPanel, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, true);
//军团战
_WindowMeta(UINameConst.UI_LegionBattleApply, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_LegionBattleTeamOrganization, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_LegionBattleMercenarySquare, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_MercenaryApply, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_MercenaryApplyTip, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_LegionBattleMercenaryApply, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
//军团战外围
_WindowMeta(UINameConst.UI_LBEnterPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_LBLevelMainPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
//新手引导
_WindowMeta(UINameConst.UI_Guide, UICanvasLayer.Guide, UIVisibilityStrategy.None, CameraMode.None, false, false);
_WindowMeta(UINameConst.UI_GuideTip, UICanvasLayer.Tips, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_Guide2Tip, UICanvasLayer.Tips, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_ChoosePerson, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true, UIBackStrategyType.Intercept);
_WindowMeta(UINameConst.UI_WriteName, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true, UIBackStrategyType.Intercept, UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_NameConfirmWindow, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
//通行证
_WindowMeta(UINameConst.UI_BattlePassPurchase, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, true);
_WindowMeta(UINameConst.UI_BattlePass, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, true);
_WindowMeta(UINameConst.UI_BattlePassRule, UICanvasLayer.Tips, UIVisibilityStrategy.None, CameraMode.Show, false, true);
_WindowMeta(UINameConst.UI_BattlePassBuyLevelPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, true, animPresetType: UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UIBattlePassFirstEnter, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, true);
_WindowMeta(UINameConst.UI_BattlePassLevelUpParticle, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, true);
_WindowMeta(UINameConst.UIBattlePassUnLock, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, true);
//其他
_WindowMeta(UINameConst.UI_LevelUpParticleWindow, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
//_WindowMeta(UINameConst.UI_PlayerLevelUp, UICanvasLayer.Normal, UIVisibilityStrategy.None, true, true);
_WindowMeta(UINameConst.UI_MusicPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_LevelTransition, UICanvasLayer.Tips, UIVisibilityStrategy.None, CameraMode.Show, false, false);
_WindowMeta(UINameConst.UI_TransitionNormal, UICanvasLayer.System, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.Intercept);
_WindowMeta(UINameConst.UI_LongTip, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, true);
_WindowMeta(UINameConst.UI_NoticeWindow, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, true, needScreenshot: true, animPresetType: UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_RealNameIdentify, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, true, false, animPresetType: UIAnimPresetType.Level2);
_WindowMeta(UINameConst.UI_LoadingBlack, UICanvasLayer.System, UIVisibilityStrategy.None, CameraMode.Shut, false, false);
// 功能解锁UI
_WindowMeta(UINameConst.UI_FunctionLock, UICanvasLayer.ForeGround, UIVisibilityStrategy.None, CameraMode.Shut, false, false);
//勋章
_WindowMeta(UINameConst.UI_MedalMainPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
_WindowMeta(UINameConst.UI_MedalInfoPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_MedalEditorShowPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, needScreenshot: false);
//图鉴
_WindowMeta(UINameConst.UI_CollectionMain, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_CharacterFileMain, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_PVFilm, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_Encyclopedia, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_EnemyInfo, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_Character, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_NPC, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_EnemyCharacter, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
_WindowMeta(UINameConst.UI_NPCInfo, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
}
/// <summary>
/// 动画参数配置
/// </summary>
public UIAnimProfileConfig AnimProfileAsset {get; private set;}
protected override async void _LoadProfile()
{
try
{
AnimProfileAsset =
await AssetManager.Instance.LoadAssetAsync<UIAnimProfileConfig>(Framework.Constants.UI_ANIM_CCNFIG);
}
catch (Exception e)
{
DebugUtil.LogError($"UIManager _LoadProfile error: {e}");
}
}
public void ToGlobal()
{
_instance = this;
}
}