Create Melee Attack / Combat in Unity - P1 - Attack Animation
Sunny Valley Studio
0:00 / 0:00
Create Melee Attack / Combat in Unity - P1 - Attack Animation
63 686 просмотров · 4 года назад
Sunny Valley Studio
46,5 тыс. подписчиков
63 686 просмотров · 4 года назад
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/
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 Introduction
01:15 Animator wetup
03:40 Animation transitions
05:02 Weapon Attack Animation
07:00 Playing animation from scrip
08:03 Delay between attacks
09:38 Attack on button click
11:04 Blocking weapon movement when playing animation
#unity2d #gamedev #nuclearthrone