少年修仙传客户端代码仓库
client_linchunjie
2019-04-28 dc6a8458dac14a65ed0d4e397b0839306130bbdd
3335 修改BossShow模型加载位置
1个文件已修改
5 ■■■■■ 已修改文件
System/BossShow/ShowActor.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/BossShow/ShowActor.cs
@@ -91,7 +91,7 @@
        RaycastHit _hit;
        var _heightPos = m_Model.transform.position;
        if (actorShowModel.Height.Length > 1)
        if (actorShowModel.Height.Length > 1 && m_Index == 0)
        {
            _heightPos.x = (float)actorShowModel.Height[0] / 200;
            _heightPos.y = 0;
@@ -148,7 +148,8 @@
            }
        }
        if (actorShowModel.effect != null && m_Index < actorShowModel.effect.Length)
        if (actorShowModel.effect != null && m_Index < actorShowModel.effect.Length
            && actorShowModel.effect[m_Index] != 0)
        {
            sfxController = SFXPlayUtility.Instance.Play(actorShowModel.effect[m_Index], m_Model.transform);
            if (sfxController != null)