void Update() { mRefreshCountdown -= Time.deltaTime; if (mRefreshCountdown < 0) { EnumSources(); mRefreshCountdown = RefreshRate; } PopMovie.FlushDebug((string s) => { Debug.Log(s); }); }