少年修仙传客户端代码仓库
client_linchunjie
2019-07-16 8fd46fcd6c4211a833378a375bbc9f7eed00aef3
3335 骑宠觉醒特效修改
1个文件已修改
20 ■■■■■ 已修改文件
UI/Common/UI3DModelExhibition.cs 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
UI/Common/UI3DModelExhibition.cs
@@ -545,7 +545,6 @@
                    if (horsePetEffect != null)
                    {
                        horsePetEffect.duration = 0f;
                        horsePetEffect.SetParticleEmissionRateOverTime(2f);
                    }
                }
            }
@@ -601,6 +600,18 @@
                        }
                    }
                }
            }
            if (horsePetEffect != null)
            {
                if (horseModel != null)
                {
                    horsePetEffect.SetParticleEmissionRateOverTime(0f);
                }
                SFXPlayUtility.Instance.Release(horsePetEffect);
                horsePetEffect = null;
            }
            if (npcModel != null)
@@ -663,13 +674,6 @@
            {
                SFXPlayUtility.Instance.Release(godWeaponEffect);
                godWeaponEffect = null;
            }
            if (horsePetEffect != null)
            {
                horsePetEffect.SetParticleEmissionRateOverTime(0f);
                SFXPlayUtility.Instance.Release(horsePetEffect);
                horsePetEffect = null;
            }
            UI3DModelShowSpecialNPC.Dispose();