![]() |
TilePlus Version 5
Unity3D Tilemap Extension
|
This attribute is used to display an invoke button for a method. Note that if the access type for the method isn't public or protected then it'll be ignored. More...


Public Member Functions | |
| TptShowMethodAsButtonAttribute (string message=null, SpaceMode spaceMode=SpaceMode.None, ShowMode showMode=ShowMode.Always, string visibilityProperty="") | |
| Create ShowMethodAsButton Attr. | |
Public Attributes | |
| readonly string | m_Message |
| Optional message to show in HelpBox just above the button. | |
| Public Attributes inherited from TilePlus.TptAttributeBaseAttribute | |
| SpaceMode | m_SpaceMode |
| Space or draw-line control. | |
| ShowMode | m_ShowMode |
| Controls how to show the item that the attr is attached to. | |
| string | m_VisibilityProperty |
| If showMode == Property, the name of a property to control visibility. | |
Additional Inherited Members | |
| Protected Member Functions inherited from TilePlus.TptAttributeBaseAttribute | |
| TptAttributeBaseAttribute (SpaceMode spaceMode=SpaceMode.None, ShowMode showMode=ShowMode.Always, string visibilityProperty="") | |
| Constructor for the Tpt base attribute. | |
This attribute is used to display an invoke button for a method. Note that if the access type for the method isn't public or protected then it'll be ignored.
| TilePlus.TptShowMethodAsButtonAttribute.TptShowMethodAsButtonAttribute | ( | string | message = null, |
| SpaceMode | spaceMode = SpaceMode::None, | ||
| ShowMode | showMode = ShowMode::Always, | ||
| string | visibilityProperty = "" ) |
Create ShowMethodAsButton Attr.
| message | Message to show the user |
| spaceMode | spaces or not |
| showMode | when-to-show control |
| visibilityProperty | string with property name when using a prop to control showing |
| readonly string TilePlus.TptShowMethodAsButtonAttribute.m_Message |
Optional message to show in HelpBox just above the button.