4 ms·
> - Unity forces you to use ugly non-idiomatic C#. Can you elaborate on this?
by kaibee 5y ago
> - Unity forces you to use ugly non-idiomatic C#.
Can you elaborate on this?
- zamalek 5y agoE.g. their own API https://docs.unity3d.com/ScriptReference/Behaviour-enabled.html https://docs.unity3d.com/ScriptReference/Behaviour-enabled.h.... Idiomatic C# is PascalCase public members. Look at the BCL. Yes, the capitalization of fields in Unity determines the flavor of property, buy that's exactly what attributes were designed to do.