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