The Basics Of Delegates In Unity

This will run Method1, then Method2, by calling the method SomeDelegate
While this object is enabled, we listen for someEvent, and doSomething when it happens

--

--

--

Game developer with over 12 years of experience, mainly focused on MMOs.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Project targets ‘net6.0’.

Designing Blueprint Function Nodes in C++

Quick guide on BlueOcean plugin for Jenkins on MacOS

Blog 8 is sooo great

Hacking Online Games using C# Scripting

Amazon MSK autoscaling

C++ Foreach

What is the Difference Between IM barcode, Postnet and Planet?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ben Pielstick

Ben Pielstick

Game developer with over 12 years of experience, mainly focused on MMOs.

More from Medium

Benefits of Prototyping with Cubes

What is Filebase and How do you use it?

Feature Frenzy

My first game in Unity