This attribute can be used in Tile classes to affect what is displayed in the Tile++Brush selection inspector. For a field or property, the value returned is displayed with ToString, so whatever you tag with this must have a ToString() method. This isn't an issue for most types of fields or properties that you might use, but keep it in mind. Sometimes you can create a property just to show it as a label, based on other values in your Tile class.
More...
This attribute can be used in Tile classes to affect what is displayed in the Tile++Brush selection inspector. For a field or property, the value returned is displayed with ToString, so whatever you tag with this must have a ToString() method. This isn't an issue for most types of fields or properties that you might use, but keep it in mind. Sometimes you can create a property just to show it as a label, based on other values in your Tile class.
◆ TptShowAsLabelSelectionInspectorAttribute()
| TilePlus.TptShowAsLabelSelectionInspectorAttribute.TptShowAsLabelSelectionInspectorAttribute |
( |
bool | useHelpBox = false, |
|
|
bool | splitCamelCaseNames = true, |
|
|
string | toolTip = "", |
|
|
SpaceMode | spacemode = SpaceMode::None, |
|
|
ShowMode | showMode = ShowMode::Always, |
|
|
string | visibilityProperty = "" ) |
Show this field or property as a label in the Selection Inspector.
- Parameters
-
| useHelpBox | if true show as infobox instead of a label |
| splitCamelCaseNames | if true, split camelcase names |
| toolTip | Optional tooltip. On a field, overrides any [Tooltip] attr on this field. |
◆ m_SplitCamelCaseNames
| readonly bool TilePlus.TptShowAsLabelSelectionInspectorAttribute.m_SplitCamelCaseNames |
if true, split CamelCase names
◆ m_Tooltip
| readonly string TilePlus.TptShowAsLabelSelectionInspectorAttribute.m_Tooltip |
Tooltip: overrides any [tooltip] attribute on this member if it's a field.
◆ m_UseHelpBox
| readonly bool TilePlus.TptShowAsLabelSelectionInspectorAttribute.m_UseHelpBox |
if true, use HelpBox instead of Label
The documentation for this class was generated from the following file: