334 lines
36 KiB
C#
334 lines
36 KiB
C#
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>
|
||
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.Show, false, false);
|
||
//_WindowMeta(UINameConst.UIScrollNotice, UICanvasLayer.Tips, UIVisibilityStrategy.None, true, false, false);
|
||
_WindowMeta(UINameConst.UIScrollNotice, UICanvasLayer.ForeGround, UIVisibilityStrategy.None, CameraMode.Shut, 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.Shut,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, false);
|
||
_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, false);
|
||
_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);
|
||
_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, false, 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);
|
||
_WindowMeta(UINameConst.UITaskTip, UICanvasLayer.Tips, UIVisibilityStrategy.None, CameraMode.Shut, false, false);
|
||
_WindowMeta(UINameConst.UI_Tip, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
|
||
_WindowMeta(UINameConst.UI_Confirm, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
|
||
|
||
// 内购
|
||
_WindowMeta(UINameConst.UI_Pay, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
|
||
_WindowMeta(UINameConst.UI_CreditPointExchangePanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, needScreenshot: true);
|
||
_WindowMeta(UINameConst.UI_CreditPointExchangeTip, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
|
||
|
||
//战斗
|
||
_WindowMeta(UINameConst.UI_TeamFight, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
|
||
_WindowMeta(UINameConst.UI_BattleRestart, UICanvasLayer.Tips, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
|
||
_WindowMeta(UINameConst.UI_FightTeam, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
|
||
_WindowMeta(UINameConst.UIFightTeamCD, UICanvasLayer.BackGround, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
|
||
_WindowMeta(UINameConst.UIFightTeamHP, UICanvasLayer.ForeGround, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
|
||
_WindowMeta(UINameConst.UIFightTeamCommandeSkill, UICanvasLayer.ForeGround, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
|
||
_WindowMeta(UINameConst.UIFightInfoTip, 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.UIPause, UICanvasLayer.Tips, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
|
||
_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.Shut, false, false, UIBackStrategyType.PassThrough);
|
||
_WindowMeta(UINameConst.UIFightPoster, UICanvasLayer.ForeGround, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
|
||
_WindowMeta(UINameConst.UI_StartBtn_CMSBtn, 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.System, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
|
||
_WindowMeta(UINameConst.UI_WaveTip, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false);
|
||
_WindowMeta(UINameConst.UI_CountDownTip, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, false);
|
||
_WindowMeta(UINameConst.UIPressCommander, UICanvasLayer.Tips, UIVisibilityStrategy.None, CameraMode.Shut, false, false);
|
||
_WindowMeta(UINameConst.UICommonSubtitle, UICanvasLayer.System, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
|
||
_WindowMeta(UINameConst.UI_LevelBlack, UICanvasLayer.ForeGround, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.PassThrough);
|
||
|
||
#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.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);
|
||
_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);
|
||
//_WindowMeta(UINameConst.UICharacterRegionIntroducePanel, UICanvasLayer.Normal, UIVisibilityStrategy.HideBelow, true, true);
|
||
_WindowMeta(UINameConst.UI_AttributeDetail, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
|
||
_WindowMeta(UINameConst.UI_AttributeClickInfo, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
|
||
_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);
|
||
_WindowMeta(UINameConst.UI_MainPanel, UICanvasLayer.BackGround, UIVisibilityStrategy.None, CameraMode.Show, false, false, UIBackStrategyType.ShowExitConfirm);
|
||
_WindowMeta(UINameConst.UI_Setting, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
|
||
_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);
|
||
_WindowMeta(UINameConst.UI_Notice, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
|
||
_WindowMeta(UINameConst.UI_Email, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
|
||
_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_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);
|
||
//_WindowMeta(UINameConst.UI_GiftItem, UICanvasLayer.Normal, UIVisibilityStrategy.HideBelow, true, true);
|
||
_WindowMeta(UINameConst.UI_ItemUsing_Change, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
|
||
|
||
_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);
|
||
_WindowMeta(UINameConst.UI_EditIntroduction, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
|
||
_WindowMeta(UINameConst.UI_EditBirthday, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
|
||
_WindowMeta(UINameConst.UI_WriteTeamName, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, true, needScreenshot: true);
|
||
_WindowMeta(UINameConst.UI_HeadIconChoose, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
|
||
_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_DrawResultCharacters, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, true, needScreenshot: true);
|
||
_WindowMeta(UINameConst.UI_RaffleAnim, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false);
|
||
_WindowMeta(UINameConst.UI_DrawPannelCharacter, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, false, UIBackStrategyType.Intercept);
|
||
_WindowMeta(UINameConst.UI_DrawMain, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, 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);
|
||
_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_RaffleExChange, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
|
||
|
||
#region 靶场
|
||
_WindowMeta(UINameConst.UI_FiringRangeSelect, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
|
||
_WindowMeta(UINameConst.UI_FiringRangeInfo, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Show, false, false);
|
||
_WindowMeta(UINameConst.UI_FiringRangeDetail, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
|
||
#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);
|
||
_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.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);
|
||
_WindowMeta(UINameConst.UI_PVPRankReward, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
|
||
_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);
|
||
_WindowMeta(UINameConst.UI_PVPRecord, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, true, needScreenshot: true);
|
||
_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);
|
||
_WindowMeta(UINameConst.UI_PVPSettle, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, 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);
|
||
_WindowMeta(UINameConst.UI_GiftShopPurchase, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, true, needScreenshot: true);
|
||
_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.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_CampEdit, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, false);
|
||
_WindowMeta(UINameConst.UI_TrainingPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Show, false, false);
|
||
_WindowMeta(UINameConst.UI_AssignPanel, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
|
||
_WindowMeta(UINameConst.UI_DispatchDetail, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
|
||
_WindowMeta(UINameConst.UI_DispatchEditTeam, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
|
||
_WindowMeta(UINameConst.UI_DispatchTip, UICanvasLayer.Normal, UIVisibilityStrategy.Occlusion, CameraMode.Shut, false, true);
|
||
//军团
|
||
_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.Shut, false, false);
|
||
_WindowMeta(UINameConst.UI_GuideTip, 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);
|
||
_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, false, true);
|
||
_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);
|
||
_WindowMeta(UINameConst.UI_RealNameIdentify, UICanvasLayer.Normal, UIVisibilityStrategy.None, CameraMode.Shut, false, false);
|
||
|
||
_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, true, needScreenshot: true);
|
||
|
||
//图鉴
|
||
_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);
|
||
}
|
||
|
||
public void ToGlobal()
|
||
{
|
||
_instance = this;
|
||
}
|
||
}
|