Optionaloptions: Partial<InspectableActionStyle>ReadonlycategoryMethod contains information about a category, which is used for grouping fields and methods under a foldout in the inspector. Retrieve the category style for information about the category.
ReadonlydeveloperThe method will be hidden on inspectors if the developer mode is not enabled.
ReadonlydisplayThe method is an action that can be triggered from the inspector UI.
ReadonlyiconThe method has an icon associated with it. This icon can be used when showing on the UI.
ReadonlyisSpecifies whether the action should only display an icon or include a label.
ReadonlyorderMethod contains information about its order relative to other fields. Retrieve the order style for information about the order.
ReadonlytooltipMethod contains information about its tooltip and how it should be displayed in the UI.
Determines if the action has the developerOnly field set to a valid value.
Determines if the action has the icon field set to a valid value.
Determines if the action has the InCategory field set to a valid value.
Determines if the action has the order field set to a valid value.
Determines if the action has the tooltip field set to a valid value.
StaticcreateCreates a new InspectableActionStyle from the given method on type;
The type to fetch attributes from.
The name of the method to get the style information from.
The InspectableActionStyle instance for the given method, null if the method is not an action.
A class that contains all attributes declared on an InspectableAction.