Swapping inventory items - Inventory System in Unity tutorial P16

Опубликовано: 11 Февраль 2022
на канале: Sunny Valley Studio
8,043
155

In this video we will code the logic behind swapping items when we drag and drop inventory ui item onto another in our inventory UI page.

Link to the tutorial    • Inventory System in Unity based on Sc...  

Learn to make 2d games in Unity:
https://courses.sunnyvalleystudio.com/

GitHub files: https://github.com/SunnyValleyStudio/...

Patreon end project files:
  / 62105689  

Assets used:
https://github.com/sparklinlabs/super...
https://paperhatlizard.itch.io/cryos-...

Starter Project link: https://drive.google.com/file/d/10j_A...

Join the discord:
  / discord  

You can support me through Patreon:
  / sunnyvalleystudio  

00:00 Intro
00:45 Modifying Inventory Controller script
01:41 Adding Test items
03:27 Dragging item logic
04:46 Swapping items logic
06:50 Inventory informing about change
10:33 Reset All Items UI code
11:44 Testing logic
12:36 Fixing Add Item bug
14:50 Fixing Item Selection


Смотрите видео Swapping inventory items - Inventory System in Unity tutorial P16 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Sunny Valley Studio 11 Февраль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 8,043 раз и оно понравилось 155 людям.