void Initialize() { Debug.Log("Input.GetButtonDown : Jump "); theClient.Press(0); Debug.Log("Input.GetButtonUp : Jump "); theClient.Release(0); }
void Getting() { // For getting the data of keyboard if (Input.GetButtonDown("Jump")) // pressed { Debug.Log("Input.GetButtonDown : Jump "); theClient.Press(0); } if (Input.GetButtonUp("Jump")) // released { Debug.Log("Input.GetButtonUp : Jump "); theClient.Release(0); } }