Пример #1
0
 private void AppendByStickItems(SellerGroupData groupData)
 {
     foreach (var id in groupData.SticksIds)
     {
         sellerItems.Add(playerLookController.GetStick(id));
     }
 }
Пример #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);
            }
        }