yasirkula / UnityIngameDebugConsole

A uGUI based console to see debug messages and execute commands during gameplay in Unity
MIT License
2.11k stars 221 forks source link

Fixed CS0649 warnings #9

Closed RunninglVlan closed 5 years ago

RunninglVlan commented 5 years ago

Related to #7

yasirkula commented 5 years ago

Wouldn't wrapping those fields with #pragma warning disable 0649 be better than giving them initial dummy values:

#pragma warning disable 0649

// Fields marked with [SerializeField]

#pragma warning restore 0649
RunninglVlan commented 5 years ago

That's for you to choose ;) Using warning disable option there will be less code change for sure

yasirkula commented 5 years ago

Resolved the warnings with #pragma warning in https://github.com/yasirkula/UnityIngameDebugConsole/commit/bb0e088dc77dcd21691dec024b7efb43b45633fe