From 8fd46fcd6c4211a833378a375bbc9f7eed00aef3 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期二, 16 七月 2019 17:00:55 +0800
Subject: [PATCH] 3335 骑宠觉醒特效修改
---
UI/Common/UI3DModelExhibition.cs | 20 ++++++++++++--------
1 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/UI/Common/UI3DModelExhibition.cs b/UI/Common/UI3DModelExhibition.cs
index 1859f95..69dc79f 100644
--- a/UI/Common/UI3DModelExhibition.cs
+++ b/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();
--
Gitblit v1.8.0