Connecting scripts on the same object in Unity

Опубликовано: 10 Октябрь 2024
на канале: Game Dev Beginner
11,363
726

Want to know how to CODE in Unity? Get my course here: https://gamedevbeginner.gumroad.com/l...

Learn how to connect scripts and systems together on the same object in Unity.

00:00 Intro
00:47 What's the problem?
03:18 Step 1. Local Singletons
05:54 Step 2. Automatic references using Inheritance
08:02 Step 3. Abstraction with Actions
12:23 Benefits
13:30 Drawbacks
14:41 Outro

You'll learn how to create complex objects with multiple interconnected systems, without making a mess of your project.

LINKS
---------------------------------------------------

My favourite Unity Assets:

Rewired - Advanced input management for modern games and devices: https://assetstore.unity.com/packages...

DOTween Pro - So useful, it should be a built-in feature: https://assetstore.unity.com/packages...

Easy Save - Makes managing game saves and storing files easy: https://assetstore.unity.com/packages...

These are affiliate links, meaning that I may receive a small commission at no extra cost to you or the asset publisher. For more information, see my affiliate policy: https://gamedevbeginner.com/affiliate...


CREDITS:
---------------------------------------------------

Outro music: New Year - Bad Snacks
Artist link:    / @badsnacks  

Unity icons created by Freepik - https://www.flaticon.com/free-icons/u...