예제 #1
0
 public TimeLerpValueUnscaledFlow(TInvokeTarget target, float lerpTime, float startVal, float endVal, Action <float> func, Action onComplete = null) : base(target)
 {
     this.timeElapsed = -_getUnscaledDeltaTime();
     this.lerpTime    = lerpTime;
     this.startVal    = startVal;
     this.endVal      = endVal;
     this.func        = func;
     this.onComplete  = onComplete;
 }
예제 #2
0
 public InvokeWhileFlow(TInvokeTarget target, Action func, Func <bool> condition, Action onComplete = null) : base(target)
 {
     this.func       = func;
     this.condition  = condition;
     this.onComplete = onComplete;
 }
예제 #3
0
 public InvokeWhenFlow(TInvokeTarget target, Action func, Func <bool> condition) : base(target)
 {
     this.func      = func;
     this.condition = condition;
 }
예제 #4
0
 public InvokeFlow(TInvokeTarget target)
 {
     this.target = target;
 }
예제 #5
0
 public InvokeDelayedFramesFlow(TInvokeTarget target, int delayFrames, Action func) : base(target)
 {
     framesElapsed    = -1;
     this.func        = func;
     this.delayFrames = delayFrames;
 }
예제 #6
0
 public InvokeDelayedUnscaledFlow(TInvokeTarget target, float delayTime, Action func) : base(target)
 {
     timeElapsed    = -_getUnscaledDeltaTime();
     this.func      = func;
     this.delayTime = delayTime;
 }