Skip to main content
Folder: Assets/_MolcaSDK/_VR/Scripts/Scenario/Tour/

Code

Area registration — Spots call RegisterSpot / UnregisterSpot on TourAreaManager (see TourSpotController). spotId must match TourSpotData in tourData. Teleport / progress from gameplay:

Troubleshooting

  • RegisterSpot warning — no matching dataTourAreaManager.tourData must list a TourSpotData with the same id as spotId on TourSpotController.
  • CompleteMaterialAsync failsScenarioSessionManager active, non-zero orgId on spot/material, valid OrgScenarioId on TourScenarioData, and ScenarioManager instance for elapsed time (see source guards).
  • TourProgressHelper returns 0SessionInfo.tours empty or org_tour_id mismatch; refresh session after content load.

Unity Editor

Hierarchy: TourAreaManager with spots; or TourSpotController on POI object.

Unity Hierarchy showing tour area and spot objects

Tour area / spot in scene