コード例 #1
0
    // Start is called before the first frame update
    void Awake()
    {
        if (instance == null)
        {
            instance = this;
        }

        IsConnected = false;
        BluetoothService.CreateBluetoothObject();
    }
コード例 #2
0
 // Start is called before the first frame update
 void Start()
 {
     IsConnected = false;
     BluetoothService.CreateBluetoothObject();
     StartConnection();
 }