コード例 #1
0
 // Update is called once per frame
 void Update()
 {
     if (device == 'A')
     {
         CarState sendData = car.GetComponent <CarController>().GetState();
         udpSystem.Send(sendData.ToByte(), 99);
     }
     if (device == 'B')
     {
     }
 }