Exemplo n.º 1
0
 private void AppendByBagItems(SellerGroupData groupData)
 {
     foreach (var id in groupData.BagsIds)
     {
         sellerItems.Add(playerLookController.GetBag(id));
     }
 }
Exemplo n.º 2
0
        private void Start()
        {
            var bodyId = playerLookController.CurrentBodyId;

            if (bodyId.Length > 0)
            {
                var data = playerLookController.GetBody(bodyId);
                HandleBodyChanged(data);
            }

            var bagId = playerLookController.CurrentBagId;

            if (bagId.Length > 0)
            {
                var data = playerLookController.GetBag(bagId);
                HandleBagChanged(data);
            }

            var stickId = playerLookController.CurrentStickId;

            if (stickId.Length > 0)
            {
                var data = playerLookController.GetStick(stickId);
                HandleStickChanged(data);
            }

            var glassesId = playerLookController.CurrentGlassesId;

            if (glassesId.Length > 0)
            {
                var data = playerLookController.GetGlasses(glassesId);
                HandleGlassesChanged(data);
            }
        }