@coby wrote:
Hi,
I've been looking around a little and can't find any posts discussing any best practices for dependency injection in MonoGame. I would like to avoid passing arounds rarely loaded objects like the player, I have looked at this approach using autofac:
http://bendetat.com/adding-dependency-injection-to-a-monogame-application.htmlCan anyone recommend any other method for creating injectable singletons in your monogame project?
BR,
Robert
Posts: 1
Participants: 1