From the course: AR Development Techniques 04: Advanced Techniques
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Downloading asset bundles into the app
From the course: AR Development Techniques 04: Advanced Techniques
Downloading asset bundles into the app
- [Instructor] In the previous video, we saw how to create AssetBundle files and upload them to the cloud storage. In this video we'll write some code to fetch those AssetBundles, unpack them and retrieve the furniture models. So let's do that. First let's create a scripts folder. And I'll create a new script C# script and I'll name this AB loader. Short for AssetBundle loader. Open the script. We'll write the code to download AssetBundles inside coroutines. So let's create three coroutines for three different furniture models. So I'll create an IEnumerator and name this, sofa. We'll create one for chair and one for table. Now to download the AssetBundles through the network, we'll first have to import the networking library using UnityEngine .Networking. So inside this we'll write UnityWebRequestAssetBundle .GetAssetBundle. This function needs three arguments. First one is the link to the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
AR furniture app overview49s
-
(Locked)
Setting up 3D models11m 17s
-
What are asset bundles?1m 52s
-
(Locked)
How to create asset bundles7m 22s
-
(Locked)
Downloading asset bundles into the app10m 23s
-
(Locked)
AR setup, part 113m 18s
-
(Locked)
AR setup, part 25m 33s
-
(Locked)
Rotation and deletion17m 46s
-
(Locked)
-
-