Beispiel #1
0
        public void RequestDeviceData(IFoundDevice device)
        {
            Messenger <ViewModel.GlobalState> .Broadcast(UIEvent.SET_APP_STATE, ViewModel.GlobalState.READY);

            Messenger.Broadcast(UIEvent.STOP_SEARCH_DEVICES);
            RequestRemoteData();
        }
Beispiel #2
0
 public void Produce(GameObject element, IFoundDevice data)
 {
     element.name = "Device" + data.Name;
     element.GetComponent <Components.FoundDevice>().Render(data);
 }
 public void Render(IFoundDevice data)
 {
     _data      = data;
     title.text = data.Name;
 }
 private void OnChooseDevice(IFoundDevice choosed)
 {
     mainController.RequestDeviceData(choosed);
 }