유니티 C# 블루투스 통신 간단 구현하기 Unity Bluetooth


유니티 C# 블루투스 통신 간단 구현하기 Unity Bluetooth

코드 작성 using UnityEngine; using System.Collections; using System.IO.Ports; public class BluetoothController : MonoBehaviour { public string deviceName = "MyBluetoothDevice"; public int baudRate = 9600; private SerialPort serialPort; void Start() { string[] ports = SerialPort.GetPortNames(); foreach (string port in ports) { if (port.Contains("Bluetooth") && port.Contains(deviceName)) { serialPort ..


원문링크 : 유니티 C# 블루투스 통신 간단 구현하기 Unity Bluetooth