private void LoadReal(string _path, bool _isRemote, Action <WWW> _callBack, float _timeout, Action _timeoutCallBack) { if (loadNum < maxLoadNum) { loadNum++; script.Load(_path, _isRemote, _callBack, _timeout, _timeoutCallBack); } else { WWWRequest request = new WWWRequest(_path, _isRemote, _callBack, _timeout, _timeoutCallBack); list.Add(request); } }
private void LoadReal(string _path, bool _isRemote, Action <WWW> _callBack) { if (loadNum < maxLoadNum) { loadNum++; Action <WWW> callBack = delegate(WWW _www) { LoadComplete(_www, _callBack); }; script.Load(_path, _isRemote, callBack); } else { pathList.Add(_path); isRemoteList.Add(_isRemote); callBackList.Add(_callBack); } }