Beispiel #1
0
        public OutfitData Serialize(Outfit outfit)
        {
            var outfitData = new OutfitData();

            outfitData.outfitType  = outfit.GetOutfitType();
            outfitData.slotUiIndex = outfit.GetItemUi().GetItemUiSlotIndex();
            return(outfitData);
        }
 private void ActivateUi()
 {
     _skinsAnimator = _outfit.GetSkinsAnimator();
     _animator.runtimeAnimatorController = _skinsAnimator[_gunType];
     _outfitSlotUi.SetOutfitImageAndActivateListener(_outfit.GetItemUi().GetItemImage());
 }