public void onArrowClick() { if (_joystickPanel && _joystickPanel.isDisplayed) { _joystickPanel.hide(); _keyboardPanel.display(); } else if (_keyboardPanel && _keyboardPanel.isDisplayed) { _keyboardPanel.hide(); _itemEnemyPanel.display(); } else if (_itemEnemyPanel && _itemEnemyPanel.isDisplayed) { _itemEnemyPanel.hide(); _joystickPanel.display(); } }
public void awake() { _joystickPanel.display(); _keyboardPanel.hide(); _itemEnemyPanel.hide(); }