ssannandeji / Zenject-2019

Dependency Injection Framework for Unity3D
MIT License
2.53k stars 363 forks source link

OnInstantiated not called when binding multiple prefab components #615

Open brzGatsu opened 5 years ago

brzGatsu commented 5 years ago

In the following case the prefab is created but OnInstantiated is never called:

List types = ... Container.Bind(types).FromComponentInNewPrefab(prefab).AsSingle().OnInstantiated(...)