예제 #1
0
    public void TakeOff(ClothModel cm)
    {
        OffCount = 1;
        ICloths ich = ClothFactory.CreatCloth(resType, umaContext, characterData, characterSlotOverlay, character, characterBase, cm);

        ich.TakeOff(OffFinish);
    }
예제 #2
0
    public void TakeOffAll()
    {
        List <ClothModel> avs = new List <ClothModel>(characterData.avatars);

        OffCount = avs.Count;
        for (int i = 0; i < avs.Count; i++)
        {
            ICloths ich = ClothFactory.CreatCloth(resType, umaContext, characterData, characterSlotOverlay, character, characterBase, avs[i]);
            ich.TakeOff(OffFinish);
        }
    }