New updated tablet - vr4vet/Blue-Sector GitHub Wiki

New updated tablet

The new updated tablet prefab is an updated version of the "Updated tablet". This tablet uses a different task list loader and a different panel manager that is better suited for the fewer screens and the progressbar. These new scripts (UpdatedTabletPanelManager.cs and UpdatedTaskListLoader.cs) can be found on the "Feedback Tablet" object. There are no serialized fields that need to be changed for them to work. On the updated tablet panel manager there is a dropdown that can be used to select between norwegian and english. The default is english. This will only change the static text on the tablet. Tasks will have to be created for the intended language. Skjermbilde 2024-08-13 125314

On the root object "NewUpdatedTablet" there is a script (Watch manager.cs) here you will need to assign the task holder along with the first subtask that should be presented on the tablet. Skjermbilde 2024-08-13 124915

The tablet contains two main pages; skills and tasks. The skills page shows all available skills in a scene. The tasks page shows the current steps that need to be taken to complete the current subtask. Skjermbilde 2024-08-13 130203 Skjermbilde 2024-08-13 130117

There are also two small popup pages (all tasks and all subtasks) that can be accessed from the tasks page. These can be used to get an overview of the tasks and subtasks for each scene and can also be used to switch to a different task or view a different subtask. Skjermbilde 2024-08-13 130408 Skjermbilde 2024-08-13 130515

The tablet uses unity events in order to mark a step as complete or to mark a skill as unlocked. Any object that the player can interact with in order to complete a skill or a step will need a unity event that is invoked once the step is complete or the skill should be unlocked. The unity event needs to look like the following if a step should be completed: Skjermbilde 2024-08-13 132116

If a skill should be invoked the unity event should look like this: Skjermbilde 2024-08-13 132341