ssannandeji/Zenject-2019

Have a Question about installer with interface in scriptableobject

liu0fanyi opened this issue · 0 comments

  • I have a scriptableObject to describe an event
  • that event has a handle interface like this:
    image
  • 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:
    image

and question...
How could I bind this handle with zenject?
Or I should not do it like this way?