pixelstudio

u/pixelstudio


r/Zenject•

Hi,

I'v been trying to get my head around Zenject and DI, i have been reading the documentation and its starting to make sense (sort of :) )

I'm working on a simple thing that downloads a model and displays it (assetbundle) Would this be an typical usage for the Factory design pattern?

AsteroidManager has a reference to Asteroid.Factory Asteroid has an factory class

Downloader would download the asteroid assetbundle.

How would i hook those op together (loading objects from bundle, then instantiate object) ... ?

20

You've reached the end of this feed.