Пример #1
0
        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);
 }
Пример #3
0
 private void OnEnable()
 {
     BluetoothSystem.Server();
     BluetoothSystem.Receive(issuerManager.gameObject.name,
                             ((Action <string>)issuerManager.SetPhoto).Method.Name);
 }