Open nikolay-vrjam opened 2 years ago
"you must use method injection to inject them with dependencies."
More info: njecting into MonoBehaviours
Should .WithParameter() be exclusive to Construction Methods? Maybe there's an argument that they should be supported with all Injection types.
Here is a MonoBehaviour with single parameter
and this is a scope configuration
Injection only works when it happens through method (commented in the first snipped), otherwise, it shows following error