My dude, great pacing and incredibly easy to understand implementation. Can you use the Action Listener for every single action in the game? Is there any advantage to using it this way as opposed to using Unity Events and Invoking them?
Yes, Action listeners can be used in any situation. They are mainly used in order to avoid the referencing of scripts if that makes sense. Basically, it prevents spaghetti coding in some form of way.
nice work, thanks
A more generic AddToScore action might be better
True, but I am showing the basic and more understandable code.
@@ElliotGreenwood understandable
👍
Someone cooked here. Interesting scripts 👍
My dude, great pacing and incredibly easy to understand implementation. Can you use the Action Listener for every single action in the game? Is there any advantage to using it this way as opposed to using Unity Events and Invoking them?
Yes, Action listeners can be used in any situation. They are mainly used in order to avoid the referencing of scripts if that makes sense. Basically, it prevents spaghetti coding in some form of way.