When creating a c ++ class with ue4
Is it better not to put _ in the name?
I also want to ask why
By UE4 convention all names should be sperated by uppercase letters, like this: UThisIsClassName
. Editor UI generation code expects you to use that convention
That said it’s only convention and only issue you may hit not following it is weird looking UI names (which can be corrected with DisplayName meta specifier). You can even find cases of _ being in name inside engine as a namespace prefix, good example is UK2Node classes (blueprint node classes):
But it better to follow convention so your names first names in APIs. It’s practically just for esthetics.