public ResourceRequest LoadAsync(string path, Type type) { var req = new ResourceRequest(); var bundleReq = _bundle.LoadAssetAsync(ToBundlePath(path), type); bundleReq.completed += op => { req.SetFieldValue("asset", bundleReq.asset); req.SetFieldValue("isDone", bundleReq.isDone); req.SetFieldValue("progress", bundleReq.progress); req.GetFieldValue <Action <AsyncOperation> >("m_completeCallback").Invoke(req); }; //TODO: Sync progress and config parameters somehow? return(req); }