Пример #1
0
 public void Discover()
 {
     if (BLEReceiver.Instance == null)
     {
         communicationController = CreateCommunicationController();
         InitCommunication(communicationController.id);
         Debug.Log("Create new communication controller");
     }
     if (bluetoothStarted)
     {
         ScanForDevices();
     }
 }
Пример #2
0
 public void Awake()
 {
     Instance = this;
 }