Пример #1
0
 //特效删除
 public void DestroyEffect(IEffect effect)
 {
     effect.Release();
     m_EffectMap.Remove(effect.projectID);
     effect = null;
 }
Пример #2
0
 //播放声音
 public virtual void PlayAudio(IEffect effect, string audio, GameObject attachNode)
 {
     StartCoroutine(PlayAudioCoRoutine(effect, audio, attachNode));
 }