Posts

Showing posts with the label EventSystem

Unity Using Events and Building Effective UI Systems

September 7, 2021 Unity Events UI Systems Title: C# Events in Unity! - Intermediate Scripting Tutorial By: Unity Youtube Link - Tutorial #1 Description: Brief introduction to using Events in Unity. Title: How To Build An Event System in Unity By: Game Dev Guide Youtube Link - Tutorial #2 Description: Quick showing of implementing a basic Event system in Unity for gameplay reasons. Title: Delegates, Events, Actions and Funcs - The Observer Pattern (Unity & C#) By: One Wheel Studio Youtube Link - Tutorial #3 Description: Covers Events, as well as Delegates, Actions, and Funcs specifically through the Observer Pattern in Unity. Title: Game Architecture Tips - Event Driven UI - Unity By: Dapper Dino Youtube Link - Tutorial #4 Description: An Event system built in Unity specifically with a focus on UI. Title: Building Unity UI that scales for a real game - Prefabs/Scenes? By: Jason Weimann Youtu...

Unity Event Systems: Introductory Research

December 17, 2019 Unity Event Systems Basics, Setup, and Tutorials ADDENDUM: An EVEN MORE AWESOME Event System, by viewers! Link - Tutorial 1 By: quill18creates C# Events Link - Tutorial 2 By: Jonathan Weinberger {ON Unity Learn Premium} Tutorial 1 They created a public abstract class, Event , that all types of events will just inherit from. This helps keep all your events nice and similar, as well as making sure they all have key methods such as those necessary for registering and unregistering listeners. Since each event type is its own version of this base event, they can each hold a different collection of listeners, which makes sense since you only want certain behaviors to happen when certain events happen (such as a unit dying). Inheritance and Static Fields in C# This was an interesting interaction that I did not know it worked this way. When a base class in C# contains a static field, and then you create a new class that inherits from this class, it ...

Callbacks and Event Systems

March 18, 2019 Creating an Event System in Unity Event System with Callbacks Tutorial Youtube - Unity Tutorial: Callbacks and a (Really Awesome!) Event System By: quill18creates Following in my learning of delegates and events, I stumbled across an interesting tutorial on creating Event Systems in Unity. I just wanted to note this as something to follow up on in the future since the general concepts I got from skimming through sounded very promising and good to learn about.