/// <summary> /// Handles the input of player /// </summary> public void handleInput(BoxController _CurrentlyHighlighted) { // NOT CURRENTLY IMPLEMENTED // If _CurrentlyHighlighted is in the process of having a force applied, // no other input will be registered until that force is done being applied if (_CurrentlyHighlighted.getButtonLock()) { return; } //------------------- verticalInput(_CurrentlyHighlighted); glideInput(_CurrentlyHighlighted); //horizontalInput (_CurrentlyHighlighted); // Keypress to make currentlyHighlighted box return to its startposition if (Input.GetKeyDown(KeyCode.Backspace)) { _CurrentlyHighlighted.setTextTo(""); _CurrentlyHighlighted.setState(BoxController.BoxState.RETURNING); } //---------------------------------- }