Closed LaurieCheers-unity closed 3 years ago
In addition, a minor thing of Unity coding standard. We may change
_rigidbody
tom_rigidbody
?- Use prefix + PascalCase for non-public field naming. - Prefixes: m_ = instance field, s_ = static readwrite field, k_ = const
It's a local variable, not a field, so should be camelCase with no prefix.
In addition, a minor thing of Unity coding standard. We may change
_rigidbody
tom_rigidbody
?