兄弟会話のセリフ送りをボタンを離したときに変更
This commit is contained in:
parent
cf822e1657
commit
a7c863ee8f
|
|
@ -32,9 +32,9 @@ public class BrotherConversation : MonoBehaviour
|
|||
var clickCountStream = this.UpdateAsObservable()
|
||||
.Select(_ => Input.GetMouseButton(0))
|
||||
.DistinctUntilChanged()
|
||||
.Skip(1)
|
||||
.Where(b => b)
|
||||
.ThrottleFirst(TimeSpan.FromSeconds(.25f))
|
||||
.Pairwise()
|
||||
.Where(pair => pair.Previous && !pair.Current)
|
||||
.ThrottleFirst(TimeSpan.FromSeconds(.1f))
|
||||
.Select(_ => 1)
|
||||
.Scan((i, i1) => i + i1);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue