From the course: Unity: AR Visualization 03 Complex Interactivity

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Saving notes

Saving notes - Unity Tutorial

From the course: Unity: AR Visualization 03 Complex Interactivity

Start my 1-month free trial

Saving notes

- [Instructor] All right, we've got our note data structure all set up. Let's go and change our save method. Let's go and open up the AR part manager. All right, so I'll be using guid so I need to add a system reference. So we're going to go using system up here and now let's go navigate down to save. This is already a pretty chunky method, so I'm going to split up into two methods. Above save, I'm going to add a new method and call it public static. I'm going to return back the AR manifest AR manifest as my return type and I'm going to call this GetPartManifest. All right, I'm just going to copy this script manifest section put in here and return the manifest. and we go look it up. And I'll call it right in there. And we're back to where we started. Now I can go and expand this GetPartsManifest method. All right, so notice a collection so I'm going to have to iterate through this. So the first thing I'm going to…

Contents