I've been programming in C# for 3 years and I've seen it done both ways. Normally I would say it's just a matter of opinion. But MonoBehaviour throws mud in the water by exposing lots of public fields in camelCase. So I'm wondering if one convention is better than the other for Unity.
Consider the following 2 code samples:
this. or underscore prefix in C#?
Consider the following 2 code samples:
Code (CSharp):
- _convention = "Underscore prefix "; // Assign to a private field