示例#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;
 }