no message
This commit is contained in:
parent
0ffbf8b4b7
commit
3ef3561b57
10 changed files with 74 additions and 125 deletions
|
@ -64,12 +64,12 @@ export class UserInputManager {
|
|||
this.Scene.input.keyboard.removeAllListeners();
|
||||
}
|
||||
|
||||
clearAllKeys(){
|
||||
disableControls(){
|
||||
this.Scene.input.keyboard.removeAllKeys();
|
||||
this.isInputDisable = true;
|
||||
}
|
||||
|
||||
restoreAllKeys(){
|
||||
restoreControls(){
|
||||
this.initKeyBoardEvent();
|
||||
this.isInputDisable = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue