public void Process(EntityParent entity, params object[] args)
    {
        deadFx = entity.Transform.GetComponent <_2dxFX_DesintegrationFX>();
        if (deadFx != null)
        {
            deadFx.ForceMaterial = entity.Transform.GetComponent <MeshRenderer>().material;
            deadFx.enabled       = true;
        }
        entity.animator.CrossFade("Dead", 0.0f);
        entity.bIsDead             = true;
        entity.entityActor.moveDir = Vector3.zero;
        entity.LeaveLevel();
        DataEntityList data = DataEntityList.dataMap[entity.type];
        AudioType      type = AudioType.纹身男死亡;

        switch (data.Name)
        {
        case "纹身男":
            type = AudioType.纹身男死亡;
            break;

        case "胖子男":
            type = AudioType.胖子男死亡;
            break;
        }
        //播放死亡音效
        AudioManagerBase.Instance.LogicPlaySoundByClip(entity.audioSource, ResourcePoolManager.singleton.GetAudioClip(type));
    }