Have a Question about installer with interface in scriptableobject
liu0fanyi opened this issue · 0 comments
liu0fanyi commented
- I have a scriptableObject to describe an event
- that event has a handle interface like this:
- then I use factory to create this event in runtime
- event attach to a prefab, and own an installer
- I will pass event scriptableObject from settings, when create event
- after spawned event, I will create this interface like this:
and question...
How could I bind this handle with zenject?
Or I should not do it like this way?