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