"Field is never assigned" warning and [Zenject.Inject]
Answered
Is there a way to exclude properties with Inject attribute from warnings?
Please sign in to leave a 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.