PluginAction
PluginAction is an object that represents a generic performable action in Roblox Studio, with no directly associated Toolbar or Enum.Button. In Roblox Studio, they can be assigned a keyboard shortcut under File → Advanced → Customize Shortcuts..., and they can also be added to the Quick Access Toolbar.
PluginActions must be created using the Plugin:CreatePluginAction() function in order to work as expected.
요약
속성
A string that uniquely identifies this action.
- 읽기 전용복제되지 않음병렬 읽기
Whether the PluginAction will be hidden from Studio's shortcuts view.
The description of the action, when viewing it from the keyboard shortcuts window in Roblox Studio.
The text that is displayed when viewing this action in Roblox Studio.
이벤트
- 플러그인 보안
Fires when the action is triggered. This can be done by either activating the action from the Quick Access Toolbar, or by using the keyboard shortcut that was bound to it.
속성
ActionId
A string that uniquely identifies this action. This string is the key used when saving and loading the action's state in Roblox Studio.
AllowBinding
This property determines whether the PluginAction will be hidden from Studio's shortcuts view. Useful for contextual actions. It defaults to true.
See also:
- Plugin.CreatePluginAction, creates a PluginAction
StatusTip
The description of the action, when viewing it from the keyboard shortcuts window in Roblox Studio.
메서드
이벤트
Triggered
Fires when the action is triggered. This can be done by either activating the action from the Quick Access Toolbar, or by using the keyboard shortcut that was bound to it.