Commit 959402f0 authored by wanqing's avatar wanqing

去掉爪子下抓音效

parent 0dc1cde5
...@@ -269,7 +269,7 @@ public class ChainRopeView : MonoBehaviour ...@@ -269,7 +269,7 @@ public class ChainRopeView : MonoBehaviour
if (rope.isLoaded && rope.restLength <= m_ropeStartLength) if (rope.isLoaded && rope.restLength <= m_ropeStartLength)
{ {
m_bControlPlayAudio = true; m_bControlPlayAudio = true;
GameServices.audioServices.PlayAudio(GameServices.configService.audioConfig.clawDownOrUp); //GameServices.audioServices.PlayAudio(GameServices.configService.audioConfig.clawDownOrUp);
//PlayShake(); //PlayShake();
//m_clawDownOrUpAudioSource = GameServices.audioServices.GetPlayAudioSource(GameServices.configService.audioConfig.clawDownOrUp); //m_clawDownOrUpAudioSource = GameServices.audioServices.GetPlayAudioSource(GameServices.configService.audioConfig.clawDownOrUp);
m_lightObj.SetParent(m_clawBody.parent.parent); m_lightObj.SetParent(m_clawBody.parent.parent);
...@@ -608,7 +608,7 @@ public class ChainRopeView : MonoBehaviour ...@@ -608,7 +608,7 @@ public class ChainRopeView : MonoBehaviour
if(m_bControlPlayAudio) if(m_bControlPlayAudio)
{ {
m_bControlPlayAudio = false; m_bControlPlayAudio = false;
GameServices.audioServices.PlayAudio(GameServices.configService.audioConfig.clawDownOrUp); //GameServices.audioServices.PlayAudio(GameServices.configService.audioConfig.clawDownOrUp);
//PlayShake(); //PlayShake();
} }
m_bIsClawUp = true; m_bIsClawUp = true;
...@@ -643,7 +643,7 @@ public class ChainRopeView : MonoBehaviour ...@@ -643,7 +643,7 @@ public class ChainRopeView : MonoBehaviour
if (m_bControlPlayAudio) if (m_bControlPlayAudio)
{ {
m_bControlPlayAudio = false; m_bControlPlayAudio = false;
GameServices.audioServices.PlayAudio(GameServices.configService.audioConfig.clawDownOrUp); //GameServices.audioServices.PlayAudio(GameServices.configService.audioConfig.clawDownOrUp);
//PlayShake(); //PlayShake();
} }
m_bIsClawUp = true; m_bIsClawUp = true;
...@@ -695,7 +695,7 @@ public class ChainRopeView : MonoBehaviour ...@@ -695,7 +695,7 @@ public class ChainRopeView : MonoBehaviour
if (m_bControlPlayAudio) if (m_bControlPlayAudio)
{ {
m_bControlPlayAudio = false; m_bControlPlayAudio = false;
GameServices.audioServices.PlayAudio(GameServices.configService.audioConfig.clawDownOrUp); //GameServices.audioServices.PlayAudio(GameServices.configService.audioConfig.clawDownOrUp);
//PlayShake(); //PlayShake();
} }
m_bIsClawUp = true; m_bIsClawUp = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment