Feature Proposal
It's pretty annoying current way FieldAttributes are printed in Inspector forces to use specific coding style when naming those fields.
For example, I prefer lowerCase for public fields and if I declare it like this:
[InputField]
public string variableName;
I'll get variable Name in the Inspector.
I'd like to have first letter always capitalized no matter how I write it in code, this is a default Unity behaviour which we are used to.
I'd propose to use something like this to make it possible:
public static string NicifyName(string name)
{
var nicePropertyName = ObjectNames.NicifyVariableName(name);
if (textInfo == null) textInfo = new CultureInfo("en-US", false).TextInfo;
return textInfo.ToTitleCase(nicePropertyName);
}
Problem this Solves
Allows to use any coding style while making custom Steps and such.
Feature Proposal It's pretty annoying current way FieldAttributes are printed in Inspector forces to use specific coding style when naming those fields.
For example, I prefer lowerCase for public fields and if I declare it like this:
I'll get
variable Name
in the Inspector. I'd like to have first letter always capitalized no matter how I write it in code, this is a default Unity behaviour which we are used to.I'd propose to use something like this to make it possible:
Problem this Solves Allows to use any coding style while making custom Steps and such.