public override void OnUpdate(float fTimeScale_Individual) { base.OnUpdate(fTimeScale_Individual); float fDeltaTime = Time.deltaTime; for (int i = 0; i < _listProxy.Count; i++) { bool bIsRequireUpdate = false; IProxy pCurrentProxy = _listProxy[i]; if (pCurrentProxy.p_bIsWaitServer) { continue; } pCurrentProxy.IProxy_Check_IsRequireUpdate(fDeltaTime, ref bIsRequireUpdate); if (p_bIsInit && bIsRequireUpdate) { pCurrentProxy.p_bIsWaitServer = true; if (pCurrentProxy.p_bIsInit) { DoSetData(pCurrentProxy.IProxy_GetDataType(), pCurrentProxy.IProxy_GetDataDBKey(), pCurrentProxy.IProxy_GetData(), pCurrentProxy.IProxy_SetData); } else { DoGetData_Single(pCurrentProxy.IProxy_GetDataType(), pCurrentProxy.IProxy_GetDataDBKey(), pCurrentProxy.IProxy_SetData); } } } }