public void CheckShowEquipFX(int equipCfgID) { if (EquipGlobal.CheckCanShowEquipModel(equipCfgID)) { this.RemoveWeaponFX(); if (EquipGlobal.CheckCanShowEquipFX(equipCfgID)) { int equipModelFXID = EquipGlobal.GetEquipModelFXID(equipCfgID, this.EquipGogokNum); if (equipModelFXID > 0 && this.ActorTarget != null) { this.mEquipModelFxID1 = FXManager.Instance.PlayFX(equipModelFXID, this.ActorTarget.get_transform(), Vector3.get_zero(), Quaternion.get_identity(), 1f, 1f, 0, false, 0, null, delegate(ActorFX actorFX) { if (this.ActorTarget != null) { if (actorFX != null && actorFX.get_gameObject() != null && this.ActorTarget is ActorParent) { EntityParent entity = (this.ActorTarget as ActorParent).GetEntity(); actorFX.get_gameObject().SetActive(ActorVisibleManager.Instance.IsShow(entity.ID)); } } else { FXManager.Instance.DeleteFX(this.mEquipModelFxID1); } }, 1f, FXClassification.Normal); } int equipModelFXID2 = EquipGlobal.GetEquipModelFXID2(equipCfgID, this.EquipGogokNum); if (equipModelFXID2 > 0 && this.ActorTarget != null) { this.mEquipModelFxID2 = FXManager.Instance.PlayFX(equipModelFXID2, this.ActorTarget.get_transform(), Vector3.get_zero(), Quaternion.get_identity(), 1f, 1f, 0, false, 0, null, delegate(ActorFX actorFX) { if (this.ActorTarget != null) { if (actorFX != null && actorFX.get_gameObject() != null && this.ActorTarget is ActorParent) { EntityParent entity = (this.ActorTarget as ActorParent).GetEntity(); actorFX.get_gameObject().SetActive(ActorVisibleManager.Instance.IsShow(entity.ID)); } } else { FXManager.Instance.DeleteFX(this.mEquipModelFxID2); } }, 1f, FXClassification.Normal); } } } }