Unity – UnityEvent

What is a UnityEvent? A UnityEvent is Unity’s built-in event system which allows you to subscribe to events right in the editor. The Unity UI system commonly uses them for example when a button is pressed: How do I use a UnityEvent in my code? All you need to do, is create a public UnityEvent…… Continue reading Unity – UnityEvent