11 lines
762 B
Lua
11 lines
762 B
Lua
---@diagnostic disable: missing-return, lowercase-global
|
|
---@meta
|
|
|
|
---@param owner table
|
|
---@param isPriority boolean
|
|
---@param key string
|
|
---@param buttonName string
|
|
---@param mouseButton string
|
|
---Sets an override binding to "click" a Button object. Override bindings are temporary. The bound key will revert to its normal setting once the override is removed. Priority overrides work the same way but will revert to the previous override binding (if present) rather than the base binding for the key. Call with a fourth argument of nil to remove the override binding for a specific key, or see ClearOverrideBindings() to remove all bindings associated with a given owner.
|
|
function SetOverrideBindingClick(owner, isPriority, key, buttonName, mouseButton) end
|