ssannandeji / Zenject-2019

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

Remove CS0649 warnings. #580

Closed tertle closed 5 years ago

tertle commented 5 years ago

Added default values to [Inject] and [SerializeField] attributed fields to remove CS0649 warnings which flood ~40 warnings the Unity console. These warnings may only appear on latest c# 7+ builds.

DoktorAce commented 5 years ago

Yes please! My projects are packed with warnings after upgrading to Unity 2018.3.0f1.

svermeulen commented 5 years ago

Ok I've cherry picked your first commit to fix these warnings