public void Request(uint id, OnWebResponse onResponse, OnWebError onError) { UWebRequest request = GetRequest(id); if (request != null) { m_CustomArgs.Merge(request.args); routine.Post(request, m_CustomArgs, onResponse, onError, m_TimeOutInterval); } m_CustomArgs.Clear(); }
public void RequestByWRI(EWebRequestId id, OnWebResponse onResponse, OnWebError onError) { Request((uint)id, onResponse, onError); }