UNPKG

dcl-ui-toolkit

Version:

A collection of UI helpers to make it easier to build a Decentraland scene using the SDK 7.

15 lines (14 loc) 417 B
import { InputAction } from '@dcl/sdk/ecs'; export type SystemInputActionsConfig = { inputAction: InputAction; callback: () => void; }; export declare class SystemInputActions { private readonly _callback; private _isActive; private readonly _inputAction; constructor({ callback, inputAction }: SystemInputActionsConfig); add(): void; remove(): void; private _systemInputHandle; }