- addHandler(bindable: default, event: "down" | "up" | "holding", handler: BindingHandler<boolean>, priority?: number): void
-
Parameters
-
-
event: "down" | "up" | "holding"
-
-
Optional
priority: number
Returns void
- addHandler(bindable: "anything", event: "down" | "up" | "holding", handler: BindingHandler<void>, priority?: number): void
-
Parameters
-
bindable: "anything"
-
event: "down" | "up" | "holding"
-
-
Optional
priority: number
Returns void
- addHandler(bindable: default | "anything", event: "down" | "up" | "holding", handler: BindingHandler<void>, priority: undefined | number, always: true): void
-
Parameters
-
bindable: default | "anything"
-
event: "down" | "up" | "holding"
-
-
priority: undefined | number
-
always: true
Returns void
- addHandler<T, K>(bindable: default, event: "down" | "up" | "holding", obj: T, key: K, priority?: number): void
-
Type Parameters
-
T extends Record<K, BindingHandler<boolean>>
-
K extends string | number | symbol
Parameters
-
-
event: "down" | "up" | "holding"
-
obj: T
-
key: K
-
Optional
priority: number
Returns void
- addHandler<T, K>(bindable: "anything", event: "down" | "up" | "holding", obj: T, key: K, priority?: number): void
-
Type Parameters
-
-
K extends string | number | symbol
Parameters
-
bindable: "anything"
-
event: "down" | "up" | "holding"
-
obj: T
-
key: K
-
Optional
priority: number
Returns void
- addHandler<T, K>(bindable: default | "anything", event: "down" | "up" | "holding", obj: T, key: K, priority: undefined | number, always: true): void
-
Type Parameters
-
-
K extends string | number | symbol
Parameters
-
bindable: default | "anything"
-
event: "down" | "up" | "holding"
-
obj: T
-
key: K
-
priority: undefined | number
-
always: true
Returns void