Ejemplo n.º 1
0
 private void DeadAction(EntityBase entity)
 {
     if (entity != null)
     {
         SkillCreateBase cloud = this.GetCloud();
         cloud.transform.position = entity.position;
         cloud.Init(base.m_Entity, base.m_SkillData.Args);
         cloud.SetTimeCallback(new Action <SkillCreateBase>(this.CloudTimeOver));
         this.mClouds.Add(cloud);
     }
 }
Ejemplo n.º 2
0
 private void CloudTimeOver(SkillCreateBase cloud)
 {
     cloud.Deinit();
     this.mClouds.Remove(cloud);
 }