Shrapnel Shotgun with Knockback | Guns Series 15 | Unity Tutorial

Описание к видео Shrapnel Shotgun with Knockback | Guns Series 15 | Unity Tutorial

Learn how to extend our ScriptableObject gun system to support shrapnel shooting shotguns (or any other type of multi-bullet-per-shot gun)!
We'll also go into how to add knockback to arbitrary objects using our ICollisionHandler and some new interfaces!

👨‍💻 As always, all code from this video is available on GitHub: https://github.com/llamacademy/script...

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?sect...

📚 Resources:
⚫ Full Gun Series Playlist in case you're new here:    • Scriptable-Object Based Gun System Fr...  
⚫ Editor Scripting Tutorials:
⚫ AI Series 51 for more in-depth explanations regarding Knockback & AI:
⚫ Physic Materials, Explained:    • Physic Materials, Explained. | Unity ...  
⚫ Collision Impulse: https://docs.unity3d.com/ScriptRefere...

🧡 Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support:
🌟 Patreon:   / llamacademy  
🌟 YouTube Member:    / @llamacademy   or click the Join button on any video
📚 Take my Unity ShaderGraph Course:
https://www.gamedev.tv/p/unity-shader...
👕 Get yourself some LlamAcademy merch: https://llamacademy.myspreadshop.com/
💸 Use my Affiliate Link for Humble Bundles https://humblebundleinc.sjv.io/9g4ak4
💸 Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! https://assetstore.unity.com/publishe... (affiliate)
💸 Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sal... (affiliate)

Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.

Chapters:
00:00 Topic Introduction
00:45 High Level Overview
02:08 Configure a Shotgun
04:12 Support Minimum Spread & Add Multiple Bullets per Shot - ShootConfigScriptableObject.cs
05:18 Update Editor Script - ShootConfigScriptableObjectPropertyDrawer.cs
06:23 Configure New Values
06:47 Shoot Multiple "Bullets" Per Shot - GunScriptableObject.cs
07:28 Finalize Configuration to Test it
09:15 Demo Shotgun
09:57 Knockback - Create Physic Materials
11:13 Enemy AI - Key Components
11:54 Knockback Configuration - KnockbackConfigScriptableObject.cs
13:10 Add Knockback Config to GunScriptableObject.cs
13:45 Knockback.cs & Extend ICollisionHandler Capability
15:25 How to Knockback Enemies with IKnockbackable.cs & GunScriptableObject.cs
17:26 Example of Knockback in EnemyMovement.cs
21:46 Example of Simple Knockback - SimpleKnockbackable.cs
21:55 Chain Knockbacks - KnockbackOnCollision.cs
23:07 Final Setup & Configuration
25:13 Final Demo, Closing Thoughts, & Support LlamAcademy

Комментарии

Информация по комментариям в разработке