and how we've got ahold of the child button component. … Now what we need to do is add a listener. … So to do this, I want you to scroll down … to the bottom of the class, not the entire script … and I want you to create a void which we're going … to call, AddListener, okay? … Okay, and we're going to pass in a couple of things. … The first thing we're going to do is actually pass in … so we're going to pass in a string called URL. … Now the way that we're going to do this then, … is get our button, our B that we're passing in … and go after the onClick event handler … and we're going to add a listener to it. … Now a listener expects a parameter to be passed through … like so and what we're going to do, is go after application … and we're going to open a URL. … The URL that we want is the one that's passed … through over here. … Okay so let's actually do this then. … Now, we need to add the listener here … and it's expecting a button which is our button here look … and it's also expecting a string which we haven't …
- Setting up an AR camera
- Building a scrolling menu
- Creating a scene controller
- Using Unity to load data from a website URL
- Refactoring code
- Populating a virtual object with JSON data
- Calculating distance using GPS
- Sorting results
Skill Level Advanced
1. Creating a Virtual Camera With On-Screen GPS
2. My Place Finder Real Google Places App
Next steps6m 44s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.