コード例 #1
0
    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();
    }
コード例 #2
0
 protected override void Attach(M3DCharacterManager characterManager)
 {
     characterManager.AttachCIClothing(morph3DDefinition.item, true);
     characterManager.DetectAttachedClothing();
 }