예제 #1
0
 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();
     }
 }
예제 #2
0
 public void awake()
 {
     _joystickPanel.display();
     _keyboardPanel.hide();
     _itemEnemyPanel.hide();
 }