Disables Input on a single Game Object.
An input disabled Game Object still retains its Interactive Object component and can be re-enabled
at any time, by passing it to InputPlugin.enable
.
name | type | arguments | Default | description |
---|---|---|---|---|
gameObject | Phaser.GameObjects.GameObject |
The Game Object to have its input system disabled. |
||
resetCursor | boolean | <optional> | false |
Reset the cursor to the default? |
This Input Plugin.