Create Melee Attack / Combat in Unity - P2 - Hitting objects

Опубликовано: 15 Июнь 2022
на канале: Sunny Valley Studio
15,630
249

In this video I will show you how to create a simple melee combat in Unity so that you can perform an attack, detect all the enemies in range and reduce there through a custom health script.

Learn How to make a Juicy 2D shooter in Unity:
https://courses.sunnyvalleystudio.com/

Scripts:
https://github.com/SunnyValleyStudio/...

Aiming at mouse:    • How to Aim a weapon at Mouse in Unity 2D  

New input system:    • How to use NEW Input System in Unity  

Assets used:
https://analogstudios.itch.io/

𝗛𝗮𝘃𝗲 𝗮𝗻𝘆 𝗾𝘂𝗲𝘀𝘁𝗶𝗼𝗻𝘀? 𝗝𝗼𝗶𝗻 𝘁𝗵𝗲 𝗱𝗶𝘀𝗰𝗼𝗿𝗱!
  / discord  

𝗣𝗟𝗘𝗔𝗦𝗘 support the channel:
  / sunnyvalleystudio  

00:00 OverlapCircleAll raycast detection
06:18 Testing collider detection
08:14 Health script
12:50 Testing health system

#unity2d #gamedev #nuclearthrone


Смотрите видео Create Melee Attack / Combat in Unity - P2 - Hitting objects онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Sunny Valley Studio 15 Июнь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 15,630 раз и оно понравилось 249 людям.