Get ready with VLC.package - Capi-Metaverse/Template GitHub Wiki

Get ready with VLC.package

Donwload VLC.package and create a project to then add the package, follow the steps:

  1. Crear repositorio en Github
  2. Clonar repositorio
  3. Crear proyecto de Unity, con template URP, en la carpeta del repositorio
  4. Meter paquetes GLTFUtility, localization, TMP: https://github.com/Siccity/GLTFUtility.git , com.unity.localization , com.unity.textmeshpro

To install any package we go to window -> Package Manager

image

Inside of Package Manager we go to UnityRegistry and we can either add from a git url on the upper left corner or we can search for a known package on the upper right corner:

image image

  1. Drag the VLC.package to the Assets folder and import the package

  2. Añadir layers y tags necesarias: Interact e interactive en todos los objetos intereactables como las puertas

image

Hoteling reservation

To add the Hoteling, just import the hoteling.prefab and adapt the logic if needed.

HotelingCanvas is formed by 96 buttons, each one corresponding to one seat in the office. Seats have numbers from 0 to 95

image image

Chairs are stored in a list of gameobjects, each one of those gamobjects is a 3D Chair inside the virtual representation of Valencia Office. You as a player can interact with the chair also without clicking the hoteling map just pressing E when near a chair.

[Header("ChairList")] [SerializeField] private List _seatList;

//Sit Character GameObject seatGameObject = _seatList[_seatNumberSelected]; seatGameObject.GetComponent().SitCharacter(FindObjectOfType().gameObject);

image image

⚠️ **GitHub.com Fallback** ⚠️