public AddReference ( string bundleName ) : void | ||
bundleName | string | Bundle name. |
리턴 | void |
public IEnumerator LoadABDependences(string bundleName, string refName, LoaderProgress progress) { if (!mLoadHelper.ContainsKey(bundleName)) { IABRelationMgr loader = new IABRelationMgr(); loader.Initialize(bundleName, progress); if (refName != null) { loader.AddReference(refName); } mLoadHelper.Add(bundleName, loader); yield return(LoadABs(bundleName)); } else { if (refName != null) { IABRelationMgr loader = mLoadHelper[bundleName]; loader.AddReference(bundleName); } } }
public IEnumerator LoadABDependences(string bundleName,string refName,LoaderProgress progress) { if(!mLoadHelper.ContainsKey(bundleName)) { IABRelationMgr loader = new IABRelationMgr(); loader.Initialize(bundleName,progress); if (refName != null) { loader.AddReference(refName); } mLoadHelper.Add(bundleName,loader); yield return LoadABs(bundleName); } else { if (refName != null) { IABRelationMgr loader = mLoadHelper[bundleName]; loader.AddReference(bundleName); } } }