Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs-unity.molca.id/llms.txt

Use this file to discover all available pages before exploring further.

Interface: Assets/_MolcaSDK/_VR/Scripts/Scenario/Drivers/IScenarioModeDriver.cs

Contract

Initialize(ScenarioManager, BaseScenarioData), OnBeforeScenarioStart, OnScenarioStarted, OnScenarioUpdate, lifecycle hooks for complete/timeout/fail, OnNodeCompleted, OnProgressCommitted, OnScenarioStop, GetScenarioKind().

Implementations

  • SimulationScenarioModeDriver
  • TourScenarioModeDriver
ScenarioManager selects the driver from the scenario data kind so branching stays out of the manager itself. At runtime the active driver receives OnScenarioStarted, OnScenarioUpdate, OnScenarioComplete, OnScenarioTimeout, OnScenarioFail, and related calls from ScenarioManager.

Unity Editor

Optional: debug break or custom editor showing active driver — or document in prose only and skip image.

Unity Editor context for scenario mode driver