Esempio n. 1
0
 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);
     }
 }
Esempio n. 2
0
        public void Stop(IManualSystem system)
        {
            var groupAccessor = PoolManager.CreateGroupAccessor(system.TargetGroup);

            system.StopSystem(groupAccessor);
        }
Esempio n. 3
0
 public static IObservable <long> WaitForScene(this IManualSystem manualSystem)
 {
     return(Observable.EveryUpdate().First());
 }
Esempio n. 4
0
 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());
 }