IEnumerator GetText() { using (UnityWebRequest uwr = UnityWebRequestAssetBundle.GetAssetBundle("http://www.my-server.com/mybundle")) { yield return uwr.SendWebRequest();

if (uwr.isNetworkError || uwr.isHttpError) { Debug.Log(uwr.error); } else { AssetBundle bundle = DownloadHandlerAssetBundle.GetContent(uwr); } } }

์—์…‹๋ฒˆ๋“ค ๊ฐ€์ ธ์˜ค๋Š” ์ฝ”๋“œ ์ธ๋ฐ์š” ์—ฌ๊ธฐ์„œ

AssetBundle bundle = DownloadHandlerAssetBundle.GetContent(uwr);

์ด๊ฒŒ ์—์…‹๋ฒˆ๋“ค์„ ๋‹ค์šด๋กœ๋“œ๋ฅผ ์‹œ์ž‘ ํ•œ๋‹ค๋Š”๊ฑด์ง€ ๋‹ค์šด๋กœ๋“œ ์™„๋ฃŒํ›„ ์ผ€์‹ฑ๋œ ์—์…‹๋ฒˆ๋“ค์„ ๋ถˆ๋Ÿฌ์˜จ๋‹ค๋Š”๊ฑด์ง€ ๊ถ๊ธˆํ•ฉ๋‹ˆ๋‹ค