Reader small image

You're reading from  Build Your Own Metaverse with Unity

Product typeBook
Published inSep 2023
PublisherPackt
ISBN-139781837631735
Edition1st Edition
Tools
Concepts
Right arrow
Author (1)
David Cantón Nadales
David Cantón Nadales
author image
David Cantón Nadales

David Cantón Nadales, software engineer from Seville, Spain, with more than 15 years of experience. He is currently a Technical Leader at Grupo Viajes El Corte Inglés, a leading travel company in Europe. He has done a multitude of projects and video games with Unity, VR/AR with Oculus, Hololens, HTC Vive, DayDream and LeapMotion. He was ambassador of the Samsung community "Samsung Dev Spain", and organizer of "Google Developers Group Sevilla". He led more than 100 projects throughout his career. As a social entrepreneur stands out Grita, a social network that emerged during the confinement of COVID-19 that allowed to talk to other people and help each other psychologically. In 2022 he won the Top Developers Awards organized by Samsung.
Read more about David Cantón Nadales

Right arrow

Adding the world to the Firebase database

I know you are eager to start programming; I promise to be quick in this section. We will simply do the same as in Chapter 4, Preparing Our Home Sweet Home: Part 2, we will add a new world to our Worlds collection.

To do this, follow these steps:

  1. Go to Firebase Console at https://console.firebase.google.com.
  2. Click on the Firestore Database link.
  3. In Firestore Console, select the Worlds collection and click on the Add Document button.
Figure 5.31 – Adding a new world document to the Worlds collection

Figure 5.31 – Adding a new world document to the Worlds collection

  1. In the document creation window, click on the Auto-ID button to obtain a unique ID and add the Description property with the value The first neighborhood of my metaverse, the Name property with the value World1, and the Scene property with the value World1, as shown in the following screenshot.
Figure 5.32 – Filling in the new document form

Figure 5.32 – Filling in the new document form

    ...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Build Your Own Metaverse with Unity
Published in: Sep 2023Publisher: PacktISBN-13: 9781837631735

Author (1)

author image
David Cantón Nadales

David Cantón Nadales, software engineer from Seville, Spain, with more than 15 years of experience. He is currently a Technical Leader at Grupo Viajes El Corte Inglés, a leading travel company in Europe. He has done a multitude of projects and video games with Unity, VR/AR with Oculus, Hololens, HTC Vive, DayDream and LeapMotion. He was ambassador of the Samsung community "Samsung Dev Spain", and organizer of "Google Developers Group Sevilla". He led more than 100 projects throughout his career. As a social entrepreneur stands out Grita, a social network that emerged during the confinement of COVID-19 that allowed to talk to other people and help each other psychologically. In 2022 he won the Top Developers Awards organized by Samsung.
Read more about David Cantón Nadales