public void FloatBlood(int hp, SplitBattleBillboardType type = SplitBattleBillboardType.CriticalPlayer)
 {
     if (GameCommonUtils.GetChild(transform, "slot_billboard"))
     {
         BillboardLogicManager.Instance.AddSplitBattleBillboard(GameCommonUtils.GetChild(transform, "slot_billboard").position, hp, type);
     }
 }
    private void AddEquidMethod2(EquipData equipData)
    {
        if (!m_equipGoDic.ContainsKey(equipData.id))
        {
            return;
        }
        Material material = m_equipGoDic[equipData.id].mat;

        //GameObject instance = m_equipGoDic[equipData.id].goList[0];
        if (transform == null)
        {
            return;
        }
        Transform equipPart = GameCommonUtils.GetChild(transform, equipData.slot[0]);

        if (equipPart == null)
        {
            return;
        }

        SkinnedMeshRenderer smr = equipPart.GetComponent <SkinnedMeshRenderer>();

        if (!smr)//安全检查
        {
            return;
        }
        m_smrList.Add(smr);
        m_equipMeshOrMaterialList.Add(material);
        smr.sharedMaterial = material;
        smr.castShadows    = false;
        smr.receiveShadows = false;
        smr.useLightProbes = true;
        SkinnedMeshRenderer smrTemp = m_equipGoDic[equipData.id].smr;

        //if (equipData.type.Count > 1) ClearOriginalModel();

        smr.sharedMesh = smrTemp.sharedMesh;
        //CombineInstance ci = new CombineInstance();
        //ci.mesh = smrTemp.sharedMesh;
        //m_combineInstances.Add(ci);

        List <Transform> bones = new List <Transform>();

        for (int i = 0; i < smrTemp.bones.Length; i++)
        {
            bones.Add(GameCommonUtils.GetChild(this.transform, smrTemp.bones[i].name));
        }
        //m_bones.AddRange(bones);
        smr.bones = bones.ToArray();
        //m_equipMeshOrMaterialList.Add(instance);
    }