"Field is never assigned" warning and [Zenject.Inject]

Answered

Is there a way to exclude properties with Inject attribute from warnings? 

3
1 comment

Create an attribute that Inherits from Zenject.Inject. Then place [MeansImplicitUse] attribute on your custom attribute. Then use your custom attribute to mark fields and methods for injection.

0

Please sign in to leave a comment.