private WWW SetBundleDependence(string _ABname) { string[] depNames = manifest.GetAllDependencies(_ABname); AssetBundle[] dependsAssetbundle = new AssetBundle[depNames.Length]; string Path2 = ""; for (int index = 0; index < depNames.Length; index++) { Path2 = AssetPath.AssetBundlePath() + depNames[index]; //WWW www = GetLoadWWW(Path2); WWW www = resload.getww(Path2); if (www.error == null) { if (m_assetBundleManager == null) { Debug.Log("ppStart.Instanc"); } if (!m_assetBundleManager.FindmBundleDependenceDic(Path2)) { dependsAssetbundle[index] = www.assetBundle; m_assetBundleManager.ADDBundleDependenceDic(Path2, dependsAssetbundle[index]); } } } Path2 = AssetPath.AssetBundlePath() + _ABname; //WWW www1 = GetLoadWWW(Path2); WWW www1 = resload.getww(Path2); return(www1); }