Exemple #1
0
        public void addEff(BaseRole frm, BaseRole to, GameObject eff, float sec)
        {
            EffItm effItm = new EffItm();

            effItm.to  = to;
            effItm.frm = frm;
            effItm.eff = eff;
            effItm.sec = sec;
            eff.transform.SetParent(U3DAPI.FX_POOL_TF, false);
            this.lEff.Add(effItm);
        }
Exemple #2
0
 public void removeEff(EffItm itm)
 {
     this.lEff.Remove(itm);
     itm.dispose();
 }