From the course: Unity: Architectural Visualization Interactivity
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Coding teleporters - Unity Tutorial
From the course: Unity: Architectural Visualization Interactivity
Coding teleporters
- [Instructor] In the previous movie, we created three teleporter prefabs. We have one over the here by the entranceway in the lobby, one over here by the stairs, and one upstairs, three teleportation points that we can jump between. Now, right now, these look great, but we don't actually have the functionality to move the viewer from one teleporter to another. Nothing will happen if we step on them, at least right now. I'm going to be adding a new script file that's going to change all that. If you take a look inside the exercise files in the Assets to Import folder, you will see that we have a teleporter.c# script file. This script file is something I've gone ahead and made already for you. I'm going to be bringing it into the project, explaining how it works, and then we're going to see it in action, how to use it. And it's completely reusable, like all the other scripts considered in this course, meaning that you can…
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.