> ## 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.

# ScenarioNetworkConfig

> Asset vs YAML modes and default VR API path fragments.

**File:** `Assets/_MolcaSDK/_VR/Scripts/Scenario/Session/ScenarioNetworkConfig.cs`

## Modes

* **`SessionNetworkMode.Asset`** — each route uses an `HttpRequestAsset` ([HttpClient](/core/http-client)).
* **`SessionNetworkMode.Yaml`** — reads **`yamlFileName`** from `Application.persistentDataPath` and merges with base URL from file.

## Default path constants

Verify against deployed assets; fragments include:

| Constant                                        | Path                                       |
| ----------------------------------------------- | ------------------------------------------ |
| `VISITOR_LOGIN_ENDPOINT` / `GET_TOKEN_ENDPOINT` | `/api/vr/token`                            |
| `MEMBER_LOGIN_ENDPOINT`                         | `/api/vr/login`                            |
| `CREATE_SESSION_ENDPOINT`                       | `/api/vr/session`                          |
| `START_SCENARIO_ENDPOINT`                       | `/api/vr/start`                            |
| Score endpoints                                 | `/api/vr/score/activity`, `/step`, `/tour` |
| `UPDATE_SESSION_STATUS_ENDPOINT`                | `/api/vr/status`                           |
| `GET_LEADERBOARD_ENDPOINT`                      | `/api/vr/leaderboard`                      |
| `GET_CONTENT_ENDPOINT`                          | `/api/vr/content`                          |

## Unity Editor

<Frame hint="ScenarioSessionManager → Scenario Network Config foldout with HttpRequestAsset slots." caption="ScenarioNetworkConfig embedded in ScenarioSessionManager">
  <img src="https://mintlify.s3.us-west-1.amazonaws.com/ptmolcateknologinusantara/images/features/vr/scenario-network-config-inspector.png" alt="ScenarioNetworkConfig fields in Unity Inspector" />
</Frame>
