Using inventory Item - Inventory System in Unity tutorial P20

Опубликовано: 15 Февраль 2022
на канале: Sunny Valley Studio
5,888
128

In this video we will test our eat food to restore health mechanic. We will use right mouse button click to perform an action on an item which in turn will use our Stat Modifiers to restore health (or affect any other character stat that we want). We will also remove the item from our inventory after we use it.

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  

#inventory #unity2d

00:00 Introduction
00:52 Using an object on RMB click
02:53 Using IItemAction
04:07 Testing health restoration
04:48 Removing item after use
05:49 Inventory Remove Item method


Смотрите видео Using inventory Item - Inventory System in Unity tutorial P20 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Sunny Valley Studio 15 Февраль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,888 раз и оно понравилось 128 людям.