private void Start() { var button = GetComponent <Button>(); button.OnClickAsObservable() .Subscribe(_ => BluetoothSystem.Server()) .AddTo(this); }
private void OnEnable() { BluetoothSystem.Server(); BluetoothSystem.Receive(verifierManager.gameObject.name, ((Action <string>)verifierManager.SetMessage).Method.Name); }
private void OnEnable() { BluetoothSystem.Server(); BluetoothSystem.Receive(issuerManager.gameObject.name, ((Action <string>)issuerManager.SetPhoto).Method.Name); }