예제 #1
0
 public void RunWhenFloatLarger(FloatMonitor monitor, float floatThreshold, Operation operation)
 {
     _monitorType    = MonitorType.FloatLarge;
     _floatMonitor   = monitor;
     _oper           = operation;
     _floatThreshold = floatThreshold;
 }
예제 #2
0
 public void RunDelay(float delayTime, Operation operation)
 {
     _monitorType  = MonitorType.FloatLarge;
     _floatMonitor = delegate {
         _timer += Time.deltaTime;
         return(_timer);
     };
     _oper           = operation;
     _floatThreshold = delayTime;
 }