public static bool Prefix(float realTimeDelta, float simulationTimeDelta, List <IThreadingExtension> ___m_ThreadingExtensions) { for (int i = 0; i < ___m_ThreadingExtensions.Count; i++) { try { ___m_ThreadingExtensions[i].OnUpdate(realTimeDelta, simulationTimeDelta); } catch (Exception e) { ThreadingWrapperExceptionHandler.Handle(e, ___m_ThreadingExtensions[i], "OnUpdate"); } } return(false); }
public static bool Prefix(List <IThreadingExtension> ___m_ThreadingExtensions) { for (int i = 0; i < ___m_ThreadingExtensions.Count; i++) { try { ___m_ThreadingExtensions[i].OnBeforeSimulationTick(); } catch (Exception e) { ThreadingWrapperExceptionHandler.Handle(e, ___m_ThreadingExtensions[i], "OnBeforeSimulationTick"); } } return(false); }