void Update() { if (!IsThreaded) { HTTPManager.OnUpdate(); } }
void Update() { if (!IsSetupCalled) { Setup(); } if (!IsThreaded) { HTTPManager.OnUpdate(); } }
void ThreadFunc(object obj) { IsThreadRunning = true; while (IsThreadRunning) { HTTPManager.OnUpdate(); #if NETFX_CORE await Task.Delay(ThreadFrequencyInMS); #else System.Threading.Thread.Sleep(ThreadFrequencyInMS); #endif } }
void ThreadFunc(object obj) { HTTPManager.Logger.Information("HTTPUpdateDelegator", "Update Thread Started"); try { IsThreadRunning = true; while (IsThreadRunning) { HTTPManager.OnUpdate(); #if NETFX_CORE await Task.Delay(ThreadFrequencyInMS); #else System.Threading.Thread.Sleep(ThreadFrequencyInMS); #endif } } finally { HTTPManager.Logger.Information("HTTPUpdateDelegator", "Update Thread Ended"); } }
private void LateUpdate() { HTTPManager.OnUpdate(); }
void Update() { HTTPManager.OnUpdate(); }