public void Stop(IManualSystem system) { if (system.TargetGroup.TargettedComponents.ToArray().Length > 0) { var groupAccessor = PoolManager.CreateGroupAccessor(system.TargetGroup); system.StopSystem(groupAccessor); } else { system.StopSystem(null); } }
public void Stop(IManualSystem system) { var groupAccessor = PoolManager.CreateGroupAccessor(system.TargetGroup); system.StopSystem(groupAccessor); }
public static IObservable <long> WaitForScene(this IManualSystem manualSystem) { return(Observable.EveryUpdate().First()); }
public static IObservable <long> WaitForScene(this IManualSystem manualSystem) { return(Observable.Interval(TimeSpan.FromMilliseconds(16.6), Scheduler.CurrentThread).FirstAsync()); }
public static UniRx.IObservable <long> WaitForScene(this IManualSystem manualSystem) { return(Observable.Interval(TimeSpan.FromMilliseconds(16.6)).First()); }