public void Tint(OnTintCleaned onTintCleaned) { this.onTintCleaned = onTintCleaned; overlayCamera.camera.enabled = true; camera.enabled = true; _blurTime = _blurRate; _accumOrig = 0.0f; _cleanPercent = 0.0f; //_pendentCleanCheck = _.Wait(2.0f).Done(CheckCleaned); }
void ClearTint() { onTintCleaned = null; overlayCamera.camera.enabled = false; camera.enabled = false; }