I hereby claim:
- I am madsbogeskov on github.
- I am madsbogeskov (https://keybase.io/madsbogeskov) on keybase.
- I have a public key ASBXmCZ6cgHI-JyeCfbfrKI9mQTPmnF7QrX1SQ7Vnfoaywo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
using UnityEngine; | |
using System.Text.RegularExpressions; | |
using System.Reflection; | |
using System.Linq; | |
using System.Collections.Generic; | |
/// <summary> | |
/// Extensions for the WWW class | |
/// </summary> | |
public static class WWWExtension |
let nameFieldIsValidObservable = nameInputField.rx_text.map { | |
$0.characters.count > 0 | |
} | |
let otherNameFieldIsValidObservable = otherNameInputField.rx_text.map { | |
$0.characters.count > 0 | |
} | |
let m = Observable.combineLatest(nameFieldIsValidObservable, otherNameFieldIsValidObservable) { (nameIsValid, otherNameIsValid) in | |
return nameIsValid && otherNameIsValid |