private void onPlayerOutfitChanged(DCustomEquipment[] outfit)
    {
        currentOutfit           = default(DCustomOutfit);
        currentOutfit.Equipment = outfit;
        Model.ClearAllEquipment();
        Model.ApplyOutfit(currentOutfit);
        List <TagDefinition[]> list = new List <TagDefinition[]>();

        if (outfit != null)
        {
            for (int i = 0; i < outfit.Length; i++)
            {
                TagDefinition[] equipmentTags = tagsManager.GetEquipmentTags(outfit[i]);
                if (equipmentTags.Length > 0)
                {
                    list.Add(equipmentTags);
                }
            }
        }
        tagsManager.MakeTagsData(base.gameObject, list.ToArray());
    }