Free VR Template to Start any Project in Unity

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
okay so in this video I'm going to show you how you can save hours when getting started with a new VR project now if you don't know last week I announced on my main Channel The Return of the VR Jam in 2023 a 7 Days game Jam that will start really soon June 23rd and that is why I decided to create this free VR template for you to build upon that I think can help you save some time to work on your gem or for any of your other projects so without further Ado let's have a look at what's inside but before you thank you to my patreon which are the one making it possible for me to make this and if like them you want to support my work and get access to exclusive content join us the link is in the description okay so here I am in my VR starting template you will be able to download it for free of course with the GitHub link you will find in the description but now let's click on play to have a look at what's inside okay so to start a project is separated in two scene we are here in the starter scene that has a little menu now for the VR setup I have a hand presents a ray to interact with the UI and I can also turn with the right joystick anyway with the ray we will be able now to interact with this simple menu we will have a start button to go to the main game scene that we will cover in a few minutes but if I click on the option button this is where you can find some options for the volume of the game and the turn type by the way the turntab use a player preference to remember what the player choose between PlayStation and of course you can add any option that you'd like for your game here and take even inspiration from what I did with the turn option then if I go back we have also the about and quit button now the quit button is straightforward but for the about you can edit here the text to write any information you'd like to share about your game or maybe even about yourself now of course everything can be customized if I leave play mode then go to materials gradient Skybox you can change either the color of the Skybox to what you want you can also go to the game title and in the text option change it to the name of your game even more I also already imported in this project different font for you to choose from and that we can change here okay so now before showing you the game scene I want to talk about two more things in this scene the audio manager and the scene transition manager so the audio manager can be seen here it is a script I'm using in a lot of projects that I learned from this brackies tutorial and you can basically create a new sound add the clip you want with the volume the pitch and add another source to it or not and with this script you can then call it anywhere with the name of the song that you want to be played which make the audio so much easier to handle in any game for example I have here A bunch of sound that I added for the user interface by the way these audio are from Kenny audio pack now if you don't know Kenny is an organization that offers thousands of free assets for game developers so this is an amazing resource for game Jam in particular and I already added four sound pack on this project for you to use now let me show you how I use the audio manager if I go to one of the button as you can see I added this UI audio script which takes three name variable and if I open the script there you go it simply goes the audio manager dot instance that play with the corresponding name and this is how you can trigger any sound very easily from the audio manager now let's go back to Unity okay so the next thing that I want to show you is the scene transition manager now this manager is from a tutorial that I made a while back that will fade your screen and switch to any scene that you want and that's what I did in my case when the player click on the start function if I go to game menu UI open the game start menu script as you can see in the start game function I call the scene transition manager that Singleton dot go to scene async to go to the main game scene that I'm going to show you now anyway now let's go back to Unity and let's click on play again there you go now let's go to the main scene by clicking on the start game amazing the screen is fading and Fade Out and I'm now in a new scene now on this scene to help you with the different interaction of your game what I did was already set up some interactable from the unity XR toolkit by the way these interactable are taken from the big Unity XR example scene which I covered in this tutorial so go watch it if you want to learn more about it and as you can see I have now a nice VR setup with hand presents teleportation using the right joystick continuous movement and turn ready to interact with the UI or even to grab an object then for the interactable let's go to the first one we can directly teleport with the teleport Encore here and we can see on the first one the basic grab interactable with the three mode velocity kinematic and instant which basically change the way the movement and collision happens during the movement then you have some sample with two end interaction then on the next one we have some example of using an object wire grabbing here on the next one we have now an example of using a socket interactor to snap an object in place then again we have more user interface that are always ND and next my favorite one some 3D restricted interactable like lover a wheel a pushable button these are really really cool and finally we have a bunch of physical interactable with this grabbable that have a joints or ear with this door and this drawer and there you go they show you the overview of what you can find in this free template so to sums up a start menu with options some font and audio asset an audio manager a scene transition manager and some pre-configure interactable and there you go that's it for this video I hope this will be helpful for you guys and that it can both speed up your development and make you learn something new if there is something that is missing on this template tell me about it in the comment section below of course and now anyway if you want to say thank you for the work I put in this template you can of course join our community on patreon where you will be able to find exclusive content thank you for watching till the end and see you very soon bye thank you foreign
Info
Channel: Valem Tutorials
Views: 30,538
Rating: undefined out of 5
Keywords: valem, valem vr, valem tutorials, virtual reality, VR, xr, vr tutorial, vr tutorial for beginners, vr tutorial unity, unity, unity vr, unity vr tutorial, beginner, how, to, vr dev, vr development, beginner xr tutorial, how to make a vr game, unity xr toolkit, vr basics tutorial, vr tutorial beginner, vr unity beginner, xr toolkit unity, vr jam 2023, vr jam, vr template unity, vr sample unity, vr starter project unity
Id: apnfGuMI0Dc
Channel Id: undefined
Length: 7min 19sec (439 seconds)
Published: Sun Jun 04 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.