1using System.Collections;
2using System.Collections.Generic;
12 if (Input.GetKey(KeyCode.Keypad8))
14 serial.SendRelativeMoveCommand(Vector3.forward);
16 if (Input.GetKey(KeyCode.Keypad2))
18 serial.SendRelativeMoveCommand(-Vector3.forward);
20 if (Input.GetKey(KeyCode.Keypad6))
22 serial.SendRelativeMoveCommand(Vector3.right);
24 if (Input.GetKey(KeyCode.Keypad4))
26 serial.SendRelativeMoveCommand(-Vector3.right);
28 if (Input.GetKey(KeyCode.Keypad9))
30 serial.SendRelativeMoveCommand(Vector3.up);
32 if (Input.GetKey(KeyCode.Keypad7))
34 serial.SendRelativeMoveCommand(-Vector3.up);
SerialControllerBytes serial