Exemple #1
0
    public void PutOn(ClothModel cm)
    {
        CharacterClothItem cloth = new CharacterClothItem(resType, umaContext, characterData, characterSlotOverlay, character, characterBase);

        clothItems.Add(cloth);
        cloth.AddListenerOn(ClothActionFinish);
        cloth.PutOn(cm);
    }
Exemple #2
0
    public void Initialize()
    {
        CharacterClothItem cloth = new CharacterClothItem(resType, umaContext, characterData, characterSlotOverlay, character, characterBase);

        cloth.PutOn(characterData.avatars, true);
    }
Exemple #3
0
    public void TakeOffAll()
    {
        CharacterClothItem cloth = new CharacterClothItem(resType, umaContext, characterData, characterSlotOverlay, character, characterBase);

        cloth.TakeOffAll();
    }
Exemple #4
0
 void ClothActionFinish(CharacterClothItem item)
 {
     clothItems.Remove(item);
 }