readonly string | displayName[Get] |
readonly string | label[Get] |
readonly string | tooltip[Get] |
readonly bool | isRuntimeOnly[Get] |
An attribute to show a Button in the inspector for a method in a MonoBehaviour script. |
readonly string Meta.WitAi.Attributes.ButtonAttribute.displayName |
---|
No description available.
|
readonly string Meta.WitAi.Attributes.ButtonAttribute.label |
---|
No description available.
|
readonly string Meta.WitAi.Attributes.ButtonAttribute.tooltip |
---|
No description available.
|
readonly bool Meta.WitAi.Attributes.ButtonAttribute.isRuntimeOnly |
---|
No description available.
|
Meta.WitAi.Attributes.ButtonAttribute.ButtonAttribute ( string displayName, string label, string tooltip, bool isRuntimeOnly ) |
---|
An attribute to show a Button in the inspector for a method in a MonoBehaviour script. Parameters displayName The name to be shown on the button. If not provided the function name will be used. labelThe label to be used for the foldout. If not provided displayName will be shown. tooltipTooltip to show on the button isRuntimeOnlyOnly show if the game is running. |