Пример #1
0
 protected void LinkTmpDropdown(TMP_Dropdown dropdown, Action <float> act)
 {
     ObservableExtensions.Subscribe <int>(UnityEventExtensions.AsObservable <int>((UnityEvent <M0>)dropdown.get_onValueChanged()), (Action <M0>)(value => act((float)value)));
     ObservableExtensions.Subscribe <PointerEventData>(Observable.Where <PointerEventData>((IObservable <M0>)ObservableTriggerExtensions.OnPointerDownAsObservable((UIBehaviour)dropdown), (Func <M0, bool>)(_ => Input.GetMouseButtonDown(0))), (Action <M0>)(_ => this.EnterSE()));
 }