hch
6 天以前 6c644699c177a7681f193af4681ff3e4ac3be658
0312 调整坐骑预览列表可能出现武将的问题
1个文件已修改
16 ■■■■ 已修改文件
Main/System/Horse/HorseController.cs 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Horse/HorseController.cs
@@ -101,14 +101,14 @@
        {
            return;
        }
        if (heroSkinID == 0)
        {
            if (hero != null && hero.gameObject.activeSelf)
            {
                hero.SetActive(false);
            }
            return;
        }
        // if (heroSkinID == 0)
        // {
        //     if (hero != null && hero.gameObject.activeSelf)
        //     {
        //         hero.SetActive(false);
        //     }
        //     return;
        // }
        hero = instanceGO.GetComponentInChildren<UIHeroController>(true);
        if (hero == null)
        {