public string Objectstosortbyname;
But with spaces i want it to be displayed like this:
Objects to sort by name
I can make:
public string ObjectsToSortByName;
But then it will look like: Objects To Sort By Name
And i’m not sure what is the best way to show it to the user ? Objects to sort by name or Objects To Sort By Name
Use something like this if you’re talking about the inspector drawer label?
I’ve been making progress with one of my first editor extensions / tools for my own personal use and perhaps asset store uploading. It works decently well, but I have a simple question… First, the code. using UnityEngine; using UnityEditor; using...
Kiwasi
December 6, 2016, 4:26am
3
You are probably being overly pedantic. Unless you need a custom inspector, writing one just to deal with capitalisation seems a little overkill.
I’m honestly surprised unity didn’t include an attribute to change the display name for a field in the inspector without having to write a custom editor.
There is header, tooltip, spaces, textareas, and whatnot… but no ‘Label’.
1 Like
Kiwasi
December 6, 2016, 5:13am
5
lordofduct:
I’m honestly surprised unity didn’t include an attribute to change the display name for a field in the inspector without having to write a custom editor.
There is header, tooltip, spaces, textareas, and whatnot… but no ‘Label’.
Me too. Its a super obvious one that wouldn’t take much to build.
A feedback item might be a good idea.