コード例 #1
0
    private void Update()
    {
        Vector3 rotationInput = new Vector3(CrossPlatformInputManager.GetAxis("Mouse X"), CrossPlatformInputManager.GetAxis("Mouse Y"), CrossPlatformInputManager.GetAxis("Roll"));
        Vector3 thrustInput   = new Vector3(CrossPlatformInputManager.GetAxis("Horizontal"), CrossPlatformInputManager.GetAxis("Vertical"), CrossPlatformInputManager.GetAxis("Lift"));

        _craft.ReceiveInput(rotationInput, thrustInput);
    }