public void AddPlayerClothings(GameObject clothingContentPack) { ContentPack clothingPack = new ContentPack(); clothingPack.setupWithGameObject(clothingContentPack); foreach (MORPH3D.COSTUMING.CIclothing clothing in clothingPack.availableClothing) { manager.AttachCIClothing(clothing, true); } manager.DetectAttachedClothing(); }
protected override void Attach(M3DCharacterManager characterManager) { characterManager.AttachCIClothing(morph3DDefinition.item, true); characterManager.DetectAttachedClothing(); }