Exemplo n.º 1
0
 public void Clear()
 {
     if (this.second_timer != -1)
     {
         Singleton <CTimerManager> .instance.RemoveTimer(this.second_timer);
     }
     this.second_timer    = -1;
     this.animationScript = null;
     this.buff_node       = null;
     this.buff_cd_text    = null;
     this.second_timer    = -1;
     this.bIn10           = false;
     this.bIn30           = false;
     this.bNormal         = true;
     this.bossActorRoot.Release();
     this.boss_hp_Node = null;
     if (this.boss_hp_timer != -1)
     {
         Singleton <CTimerManager> .instance.RemoveTimer(this.boss_hp_timer);
     }
     this.boss_hp_timer = -1;
     this.hpText        = null;
     this.bloodImage    = null;
     this.blood_eft     = null;
     this.boss_icon     = null;
     BossRoot.Release();
     this.map_fromScript = null;
 }