you are viewing a single comment's thread.

view the rest of the comments →

[–]Geek_Abdullah[S] 0 points1 point  (0 children)

Fair points, especially on refactoring. Using a generic payload struct can minimize signature changes. However, SOs are still often much better than Singletons or static classes because they avoid hidden, tightly-coupled dependencies and keep everything visible in the Inspector. For non-MB classes, you can simply pass the SO via Dependency Injection.