Пример #1
0
 //-------------------------------------------------------------------------
 public void addEffect(int effect_vib_id, Dictionary <string, object> map_param, EffectTypeEnum effect_type)
 {
     if (mEffectMgr != null && map_param != null)
     {
         map_param.Add("RenderScene", this);
         mEffectMgr.createCombineEffect(effect_vib_id, map_param, effect_type);
     }
 }
Пример #2
0
 //---------------------------------------------------------------------
 public List <List <object> > addEffect(int vib_compose_id, Dictionary <string, object> param, EffectTypeEnum effect_type)
 {
     if (param != null)
     {
         param.Add("LogicScene", this);
         return(mEffectMgr.createCombineEffect(vib_compose_id, param, effect_type));
     }
     else
     {
         return(null);
     }
 }