MENU

Fun & Interesting

Events or UnityEvents?????????

Jason Weimann (GameDev) 106,973 5 years ago
Video Not Working? Fix It Now

Get the Source Code - https://bit.ly/3bvPaMu 0:00 - The Question 0:27 - Your Preferences? (don't be shy!) 0:46 - Demo (what the code we'll see does) 1:40 - Unity Scene Setup 2:07 - Collector.cs c# code 2:48 - Reference to - https://www.youtube.com/watch?v=KRq0-0KY6bU 2:54 - UnityEvent Declaration - OnCompleteEvent 3:18 - Adding or Registering UnityEvent Handler Callbacks 4:55 - Enabling another GameObject with UnityEvent 6:43 - C# Events (Delegates / Actions) 7:18 - C# Event Declaration - OnPickup 7:57 - Invoking C# Events (and null events) 9:12 - Handling Event Callbacks & Event Parameters 10:26 - Invoking UnityEvents 10:50 - Adding More UnityEvents 13:00 - ContextMenu Shortcut to save time Learn the difference between c# events and unityevents. When to use each, how to use them, and what they're best at. My Courses - https://bit.ly/321z4XZ Join the Group - http://unity3d.group Patreon - https://patreon.com/unity3dcollege

Comment