The LongName
property provides a user-friendly name for the UI. It is a string that can be used to display a more descriptive or readable name for a variable in the user interface, as opposed to its internal name.
The LongName
property provides a user-friendly name for the UI. It is a string that can be used to display a more descriptive or readable name for a variable in the user interface, as opposed to its internal name.
Use the LongName
property when you need to display a variable's name in a way that is easily understandable by users. This is particularly useful in UI elements where clarity and readability are important.
// Example of using the LongName property Editor.MapClassVariable mapVariable = new Editor.MapClassVariable(); mapVariable.LongName = "Player Health"; // Use the LongName in a UI context displayLabel.Text = mapVariable.LongName; // Sets the label text to "Player Health"