Unity: Events vs Interfaces
“Events are evil!” is a common opinion among Unity developers. What are the reasons behind this statement and are interfaces an alternative to events? Example implementation at the bottom. Problems A common source for event bugs are timing issues. For an event to work correctly you have to subscribe before it’s triggered and … Read more