yyl
2025-12-31 52d7643d8a5f133232a9d25c09399f283321f6aa
Main/System/Battle/BattleConst.cs
@@ -101,6 +101,33 @@
    //  释放技能英雄>受影响英雄>正常UI>黑色蒙版>未受影响英雄>底图
    // ----------------------2025 12/30更新 start
    // BattleBackground = -10
    // BattleWinLayer    0
    //                                         {
    //                                             BehindHeroUI     =   1  Offset  -2
    //                                             BehindHeroEffect =   2          -1
    // UnactiveHero =  BattleBackground  +         BattleHero       =   3           0
    //                                             FrontUIEffect    =   4           1
    //                                             BattleHeroUI     =   5           2
    //                                             FrontHeroEffect  =   6           3
    //                                         }
    // SkillMask    =    10
    //                                         {
    //                                             BehindHeroUI     =   1  Offset  -2
    //                                             BehindHeroEffect =   2          -1
    // ActiveHero   =  SkillMask         +         BattleHero       =   3           0
    //                                             FrontUIEffect    =   4           1
    //                                             BattleHeroUI     =   5           2
    //                                             FrontHeroEffect  =   6           3
    //                                         }
    // BattleStartEffect = 30
    // ----------------------2025 12/30更新 end
    //释放技能英雄>受影响英雄>[正常UI]>黑色蒙版>未受影响英雄>底图
    public static int BattleWinSortingOrder
@@ -136,89 +163,38 @@
        }
    }
    public static int BattleBehindCharUIOffset = 1;    //角色后面的UI 主要是阴影(处理)
    public static int BattleBehindHeroEffect = 2;       //角色身后的特效(处理)
    public static int BattleHeroOffset = 3;             //角色本身的层级(不需处理)
    public static int BattleActiveHeroOffset = 4;
    public static int BattleFrontHeroBehindUIEffect = 5;          //角色身前的 但是UI后面特效
    public static int BattleFrontCharUIOffset = 6;      //角色身前的UI
    public static int BattleFrontHeroEffect = 7;        //角色身前的特效
    public static int SkillMaskOrder
    {
        get
        {
            return BattleWinSortingOrder + 10;
        }
    }
    //  释放技能英雄>受影响英雄>正常UI>黑色蒙版>未受影响英雄>[底图]
    public static int BattleBackgroundOrder
    {
        get
        {
            return BattleWinSortingOrder - 10;
        }
    }
    // 非激活英雄的后特效
    public static int UnactiveHeroBackSortingOrder
    {
        get
        {
            return BattleBackgroundOrder + 1;
        }
    }
    //释放技能英雄>受影响英雄>正常UI>黑色蒙版>[未受影响英雄]>底图
    // 非激活英雄的层级
    public static int UnactiveHeroSortingOrder
    {
        get
        {
            return UnactiveHeroBackSortingOrder + 1;
        }
    }
    // 非激活英雄的前特效
    public static int UnactiveHeroFrontSortingOrder
    {
        get
        {
            return UnactiveHeroSortingOrder + 1;
        }
    }
    //释放技能英雄>受影响英雄>正常UI>[黑色蒙版]>未受影响英雄>底图
    // 黑色蒙版的层级
    public static int BlockerSortingOrder
    {
        get
        {
            return UnactiveHeroFrontSortingOrder + 1;
        }
    }
    // 激活英雄的后特效
    public static int ActiveHeroBackSortingOrder
    {
        get
        {
            return BlockerSortingOrder + 1;
        }
    }
    //释放技能英雄>[受影响英雄]>正常UI>黑色蒙版>未受影响英雄>底图
    // 激活英雄的层级
    public static int ActiveHeroSortingOrder
    {
        get
        {
            return ActiveHeroBackSortingOrder + 1;
        }
    }
    //[释放技能英雄]>受影响英雄>正常UI>黑色蒙版>未受影响英雄>底图
    //  释放技能钟的英雄层级
    public static int ActiveHeroActionSortingOrder
    {
        get
        {
            return ActiveHeroSortingOrder + 1;
        }
    }
    // 激活英雄的前特效
    public static int ActiveHeroFrontSortingOrder
    {
        get
        {
            return ActiveHeroActionSortingOrder + 1;
        }
    }