-
Notifications
You must be signed in to change notification settings - Fork 5
Home
Nikhil Verma edited this page Dec 17, 2016
·
1 revision
Welcome to the VR Photo Album wiki!
As a unity project, our project is broadly broken into 3 main scenes as described above. Before spawning in the lobby scene though, we scan a specific file directory to build up our so called ‘root data model’. Our data model comprises of RootModel class that holds a list of Album class objects and music tracks to play. Each Album holds a list of Photo type objects.
With the root model loaded, we begin generating doors and walls in the Lobby scene. The root model also contains a static currrentAlbum field. Upon transitioning to an art gallery, we set this field to the respective album. By doing this, we ensure that every subsequent process has global access to the current album.