How grandthefthx/vr_fire_safety_training works
This Unity VR fire-safety trainer takes a trainee from splash and identification through a timed PASS-method drill to a scored assessment. The graph follows the documented scene flow and separates fire simulation, training state/scoring, cross-scene session data, UI/localization, and optional mixed-reality support. Relationships are based on the README; source excerpts were unavailable, so implementation details and undocumented links are omitted.
Main entry points: SplashController.cs Splash flow · NameSelectionController.cs Name selection · GameManager.cs Training state and scoring · TrainingSceneFlow.cs Training scene flow
Components 22
Entry and menus
- Splash flow
Assets/Scripts/UI/SplashController.cs - Name selection
Assets/Scripts/UI/NameSelectionController.cs - Name roster
Assets/Scripts/NameRoster.cs - Main menu
Assets/Scripts/MainMenuController.cs - Training scene flow
Assets/Scripts/TrainingSceneFlow.cs
Training and scoring
- Training state and scoring
Assets/Scripts/GameManager.cs - Fire simulation
Assets/Scripts/FireSource.cs - Extinguisher interaction
Assets/Scripts/ExtinguisherController.cs
Session and assessment
- Training results
Assets/Scripts/TrainingResults.cs - Trainee session
Assets/Scripts/TraineeSession.cs - Assessment report
Assets/Scripts/AssessmentController.cs - Assessment actions
Assets/Scripts/AssessmentButtonAction.cs
UI and comfort
- Language manager
Assets/Scripts/UI/LanguageManager.cs - Localized text
Assets/Scripts/UI/LocalizedText.cs - Turn mode
Assets/Scripts/TurnModeController.cs - Analytics facade
Assets/Scripts/Analytics/AnalyticsService.cs - Analytics providers
Assets/Scripts/Analytics/IAnalyticsProvider.cs
XR and passthrough
- Display mode
Assets/Scripts/UI/DisplayModeManager.cs - Environment mode
Assets/Scripts/EnvironmentModeController.cs - Passthrough service
Assets/Scripts/XR/PassthroughService.cs - Passthrough providers
Assets/Scripts/XR/IPassthroughProvider.cs
Other components
- Trainee
Connections 19
- Trainee → Splash flow: starts at
README.md - Splash flow → Name selection: offers selection
README.md - Name selection → Name roster: selects surname
README.md - Name selection → Trainee session: sets trainee
README.md - Splash flow → Language manager: changes language
README.md - Main menu → Training scene flow: opens training
README.md - Trainee → Extinguisher interaction: uses extinguisher
README.md - Fire simulation → Training state and scoring: reports progress
README.md - Training state and scoring → Training results: stores outcome
README.md - Training state and scoring → Training scene flow: signals state changes
README.md - Assessment report → Training results: reads snapshot
README.md - Assessment actions → Main menu: returns to menu
README.md - Assessment actions → Training scene flow: restarts drill
- Localized text → Language manager: subscribes to changes
README.md - Environment mode → Display mode: reacts to mode
README.md - Display mode → Passthrough service: checks support
README.md - Passthrough service → Passthrough providers: selects provider
README.md - Environment mode → Passthrough providers: enables passthrough
README.md - Analytics facade → Analytics providers: uses provider