PluginAction

Afficher les obsolètes
non répliqué

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.

Résumé

Propriétés

  • lecture uniquement
    non répliqué
    lecture parallèle

    A string that uniquely identifies this action.

  • lecture uniquement
    non répliqué
    lecture parallèle

    Whether the PluginAction will be hidden from Studio's shortcuts view.

  • lecture uniquement
    non répliqué
    lecture parallèle

    The description of the action, when viewing it from the keyboard shortcuts window in Roblox Studio.

  • lecture uniquement
    non répliqué
    lecture parallèle

    The text that is displayed when viewing this action in Roblox Studio.

Évènements

  • sécurité des plugins

    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.

Propriétés

ActionId

lecture uniquement
non répliqué
lecture parallèle

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

lecture uniquement
non répliqué
lecture parallèle

This property determines whether the PluginAction will be hidden from Studio's shortcuts view. Useful for contextual actions. It defaults to true.

See also:

StatusTip

lecture uniquement
non répliqué
lecture parallèle

The description of the action, when viewing it from the keyboard shortcuts window in Roblox Studio.

Text

lecture uniquement
non répliqué
lecture parallèle

The text that is displayed when viewing this action in Roblox Studio.

Méthodes

Évènements

Triggered

sécurité des plugins

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.