Reader small image

You're reading from  Enhancing Virtual Reality Experiences with Unity 2022

Product typeBook
Published inNov 2023
Reading LevelBeginner
PublisherPackt
ISBN-139781804619537
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Steven Antonio Christian
Steven Antonio Christian
author image
Steven Antonio Christian

Steven Christian is an Augmented Reality Developer, Animator, and Medical Student Student. He's also the Owner of Iltopia Studios where he creates comics and cartoons that explore the Black experience in America. He is Unity Certified 3D Artist and Instructor and his goal is to improve equity in arts and technology through content creation and community-focused education.
Read more about Steven Antonio Christian

Right arrow

Summary

We have covered various aspects of VR development in Unity in this chapter. We started by discussing the importance of structuring C# code and understanding its syntax to make it clear, concise, and easily understandable for others. We also learned about the Unity Event System and how it can be used to trigger events with input actions, which is essential for VR development.

Next, we learned how to create portals that can transport us to another scene in Unity. We achieved this by using triggers and colliders to detect when the player enters a certain area, allowing us to load a new scene and move the player to that location. We also created a prefab variant for our portal scenes to make it easier to add them to our game.

We then explored the C# code required to make the portals work. We created a new C# script called PortalSceneManager that handles the transition between scenes. This script includes a public scene asset, which allows us to select the scene we want to...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Enhancing Virtual Reality Experiences with Unity 2022
Published in: Nov 2023Publisher: PacktISBN-13: 9781804619537

Author (1)

author image
Steven Antonio Christian

Steven Christian is an Augmented Reality Developer, Animator, and Medical Student Student. He's also the Owner of Iltopia Studios where he creates comics and cartoons that explore the Black experience in America. He is Unity Certified 3D Artist and Instructor and his goal is to improve equity in arts and technology through content creation and community-focused education.
Read more about Steven Antonio Christian