How to Make MELEE COMBAT in UNITY with C# by using SCRIPTABLE OBJECT

Опубликовано: 17 Март 2026
на канале: Prime Knight
510
14

This is a Tutorial on How to make melee combat in a 2d game with unity & c sharp scripting, In this tutorial you will learn how to make transition between animation states, This tutorial will also teach you how to make enemy attack in unity with C# & this tutorial is for beginners who want to make
melee combat in unity for the first or want to add melee combat to their 2d game in unity with c sharp programming, Shortly this tutorial will teach about melee combat in unity from scratch! This tutorial is based on How to make enemy attack in a 2d game with unity and C# for beginners & Intermediate people.

Game & Source Code:   / melee-combat-in-120751053  

Assets
Player: https://assetstore.unity.com/packages...
Enemy: https://assetstore.unity.com/packages...
Tileset: https://theflavare.itch.io/forest-nat...

Special thanks to Yusuf Saltabas

Join YouTube/Patreon Membership to Unlock exclusive benefits including doubts discussion, Bug fixing, high quality game source and much more...
Join on YouTube:    / @primeknightyt  
Join on Patreon:   / bhairab  

Donate:   / bhairab  
Instagram:   / bhairab_roy10  
Business Inquiries:
[email protected]

Members Only
►   • Members-only videos  

RPG tutorial
►   • 2D Top Down RPG MOVEMENT, Animation TRANSI...  
Mobile game dev
►   • UNITY Full Course for ABSOLUTE BEGINNERS w...  
Dialogue tutorial
►   • INTRODUCTION to DIALOGUE in UNITY for BEGI...  
Complex enemy tutorial
►   • Full Course on ADVANCE ENEMY in UNITY for ...  

Unity & C# Beginner tutorials
►   • Unity 6 & C# Game Development Full Course(...  

Unity & C# Intermediate
►   • Unity Intermediate | Learn Unity Game Engi...  

Chapters:
00:00 - Introduction
00:37 - Animation Transition
08:50 - Enemy Scripting
10:11 - Scriptable Object
17:41 - Serialize Field C#
19:24 - Enemy Attack Scripting
25:25 - Enemy animation via Script

#unity #gamedevelopment #unityengine #scriptableobject #meleecombat