125 战斗 战斗角色特效技能蒙版层级调整 SkillTips 技能名字使用原始尺寸 NativeSize
2个文件已修改
78 ■■■■ 已修改文件
Main/System/Battle/BattleConst.cs 76 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Battle/UIComp/SkillTips.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Battle/BattleConst.cs
@@ -58,14 +58,7 @@
    //  现在期望 蒙版不要压住UI 更改策略
    //  释放技能英雄>受影响英雄>正常UI>黑色蒙版>未受影响英雄>底图
    //  释放技能英雄>受影响英雄>正常UI>黑色蒙版>未受影响英雄>[底图]
    public static int BattleBackgroundOrder
    {
        get
        {
            return BattleWinSortingOrder - 10;
        }
    }
    //释放技能英雄>受影响英雄>[正常UI]>黑色蒙版>未受影响英雄>底图
    public static int BattleWinSortingOrder
@@ -101,13 +94,12 @@
        }
    }
    //释放技能英雄>受影响英雄>正常UI>黑色蒙版>[未受影响英雄]>底图
    // 非激活英雄的层级
    public static int UnactiveHeroSortingOrder
    //  释放技能英雄>受影响英雄>正常UI>黑色蒙版>未受影响英雄>[底图]
    public static int BattleBackgroundOrder
    {
        get
        {
            return BattleWinSortingOrder - 8;
            return BattleWinSortingOrder - 10;
        }
    }
@@ -116,7 +108,18 @@
    {
        get
        {
            return BattleWinSortingOrder - 9;
            return BattleBackgroundOrder + 1;
        }
    }
    //释放技能英雄>受影响英雄>正常UI>黑色蒙版>[未受影响英雄]>底图
    // 非激活英雄的层级
    public static int UnactiveHeroSortingOrder
    {
        get
        {
            return UnactiveHeroBackSortingOrder + 1;
        }
    }
@@ -125,7 +128,7 @@
    {
        get
        {
            return BattleWinSortingOrder - 7;
            return UnactiveHeroSortingOrder + 1;
        }
    }
@@ -135,7 +138,16 @@
    {
        get
        {
            return BattleWinSortingOrder - 6;
            return UnactiveHeroFrontSortingOrder + 1;
        }
    }
    // 激活英雄的后特效
    public static int ActiveHeroBackSortingOrder
    {
        get
        {
            return BlockerSortingOrder + 1;
        }
    }
@@ -145,26 +157,7 @@
    {
        get
        {
            return BattleWinSortingOrder - 4;
        }
    }
    // 激活英雄的后特效
    public static int ActiveHeroBackSortingOrder
    {
        get
        {
            return ActiveHeroSortingOrder - 5;
        }
    }
    // 激活英雄的前特效
    public static int ActiveHeroFrontSortingOrder
    {
        get
        {
            return ActiveHeroSortingOrder - 3;
            return ActiveHeroBackSortingOrder + 1;
        }
    }
@@ -174,9 +167,20 @@
    {
        get
        {
            return ActiveHeroSortingOrder - 2;
            return ActiveHeroSortingOrder + 1;
        }
    }
    // 激活英雄的前特效
    public static int ActiveHeroFrontSortingOrder
    {
        get
        {
            return ActiveHeroActionSortingOrder + 1;
        }
    }
}
Main/System/Battle/UIComp/SkillTips.cs
@@ -36,7 +36,7 @@
        imgIcon.sprite = UILoader.LoadSprite("HeroHead", teamHero.skinConfig.SquareIcon);
        imgSkillName.sprite = UILoader.LoadSprite("SkillNameIcon", skillConfig.SkillTipsName);
        imgSkillName.SetNativeSize();
        // 保证开始时所有图片为可见(alpha=1)
        if (imageBg != null) { var c = imageBg.color; c.a = 1f; imageBg.color = c; }
        if (imgIcon != null) { var c = imgIcon.color; c.a = 1f; imgIcon.color = c; }