少年修仙传客户端代码仓库
client_linchunjie
2018-11-27 36fa5f4de848aee08e05d99933553cf67e4f07d4
5077 【1.3】法宝新获得界面显示优化
1个文件已修改
11 ■■■■■ 已修改文件
System/Treasure/TreasureNewGotWin.cs 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Treasure/TreasureNewGotWin.cs
@@ -296,6 +296,17 @@
                m_FightPower.text = model.GetTreasureFightPower(treasure.id, false).ToString();
            }
            switch ((TreasureCategory)config.Category)
            {
                case TreasureCategory.Fairy:
                case TreasureCategory.Human:
                    m_UnlockTip.text = Language.Get("TreasureCanAwake");
                    break;
                case TreasureCategory.Demon:
                    m_UnlockTip.text = Language.Get("TreasureAwaked");
                    break;
            }
            var instance = UIUtility.CreateWidget("TreasureUnlockFlyObject_1", "TreasureUnlockFlyObject_1");
            unlockFlyObject1 = instance.GetComponent<FunctionUnlockFlyObject>();
            Transform parent = (treasureStage != null && treasureStage.unlockType == TreasureStageUnlock.Skill) && treasure.id != 101