コード例 #1
0
 public void CloseTyping()
 {
     toolbar.SetActive(false);
     joystick.SetActive(true);
     CameraButton.SetActive(true);
     GoBackHomeButton.SetActive(true);
 }
コード例 #2
0
 public void ToggleKeyboard()
 {
     joystick.SetActive(false);
     CameraButton.SetActive(false);
     GoBackHomeButton.SetActive(false);
     keyboard = TouchScreenKeyboard.Open("", TouchScreenKeyboardType.Default, false, false, false);
     // To test on editor -> comment out
     // toolbar.SetActive(true);
     // toolbar.transform.position = new Vector3(toolbar.transform.position.x, 15, toolbar.transform.position.z);
     // inputTransform = toolbar.transform.GetChild(0);
     // keyboardActive = true;
     // EventSystem.current.SetSelectedGameObject(inputTransform.gameObject, null);
 }