Is there a way to get a string from a NormalId?
When given Enum.NormalId.Right
, the script should output "Right"
.
When given Enum.NormalId.Top
, the script should output "Top"
, and so on.
Any help would be appreciated, thanks.
Is there a way to get a string from a NormalId?
When given Enum.NormalId.Right
, the script should output "Right"
.
When given Enum.NormalId.Top
, the script should output "Top"
, and so on.
Any help would be appreciated, thanks.
You can use EnumItem.Name
. For example, Enum.NormalId.Right.Name
.
Wow, I never knew that Enums had that property. This would be very useful in other cases too, thank you so much!