Example #1
0
 private void OnStopSuperArmorShiled(CharacterInfo obj, int impactId)
 {
     if (null != obj)
     {
         CharacterView view = EntityManager.Instance.GetCharacterViewById(obj.GetId());
         if (null != view)
         {
             ImpactInfo impactInfo = obj.GetSkillStateInfo().GetImpactInfoById(impactId);
             if (null != impactInfo)
             {
                 ImpactLogic_SuperArmorShield.SuperArmorShieldInfo info = impactInfo.LogicDatas.GetData <ImpactLogic_SuperArmorShield.SuperArmorShieldInfo>();
                 if (null != info)
                 {
                     GfxSystem.DestroyGameObject(info.EffectActor);
                     GfxSystem.PublishGfxEvent("ge_end_monster_sheild", "ui", view.Actor);
                 }
             }
         }
     }
 }
Example #2
0
 internal void Destroy()
 {
     GfxSystem.DestroyGameObject(m_Actor);
 }