Beispiel #1
0
 public FrameTimeInterval(FrameTimeIntervalObservable <T> parent, IObserver <UniRx.TimeInterval <T> > observer, IDisposable cancel)
     : base(observer, cancel)
 {
     this.parent   = parent;
     this.lastTime = (parent.ignoreTimeScale)
         ? UnityEngine.Time.unscaledTime
         : UnityEngine.Time.time;
 }
Beispiel #2
0
 public FrameTimeInterval(FrameTimeIntervalObservable <T> parent, IObserver <TimeInterval <T> > observer, IDisposable cancel)
     : base(observer, cancel)
 {
     this.parent = parent;
     lastTime    = ((!parent.ignoreTimeScale) ? Time.time : Time.unscaledTime);
 }