Copy Aetheria Code
Added a bunch of code from the old Aetheria project
This commit is contained in:
parent
ab392cd3d6
commit
c58ba0b1da
1704 changed files with 175081 additions and 313 deletions
17
Assets/Scripts/NIH/UniRx/Scripts/Observable.Blocking.cs
Normal file
17
Assets/Scripts/NIH/UniRx/Scripts/Observable.Blocking.cs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
|
||||
namespace UniRx
|
||||
{
|
||||
public static partial class Observable
|
||||
{
|
||||
public static T Wait<T>(this IObservable<T> source)
|
||||
{
|
||||
return new UniRx.Operators.Wait<T>(source, InfiniteTimeSpan).Run();
|
||||
}
|
||||
|
||||
public static T Wait<T>(this IObservable<T> source, TimeSpan timeout)
|
||||
{
|
||||
return new UniRx.Operators.Wait<T>(source, timeout).Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue