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