Installation¶
Requirements¶
- Unity 6000.6 or newer. The package is tested with Unity 6000.6.6f1.
- uGUI.
com.unity.uguiis declared as a package dependency and installs automatically. - Input System is optional. The runtime does not reference it. The sample selects the matching UI input module at runtime.
- No render-pipeline dependency. The UI and runtime work with the Built-in Render Pipeline, URP and HDRP.
Unity version
The package manifest declares Unity 6000.6. If you need a different minimum
version, test the package in that editor before lowering the unity and
unityRelease fields in package.json.
Install from the Unity Asset Store¶
- Open Window → Package Manager.
- Select My Assets.
- Search for Narrative Forge.
- Select the package and click Install.
The Asset Store version is delivered as a UPM package. Unity resolves the uGUI dependency automatically.
Install from a UPM tarball¶
Use this route for an offline build or a package you received directly.
- Open Window → Package Manager.
- Click the + button in the toolbar.
- Choose Add package from tarball….
- Select
com.camenduru.narrativeforge-1.0.0.tgz. - Wait for Unity to import and compile the package.
Install as an embedded package¶
- Copy the
com.camenduru.narrativeforgefolder into your project'sPackages/folder. - Open
Packages/manifest.jsonand add:
- Return to Unity and let the package manager resolve the project.
An embedded package is editable, which makes it convenient while you are integrating or extending the runtime.
Import the sample¶
The Harbour Demo is a separate sample so it does not affect your project unless you ask for it.
- Open Window → Package Manager.
- Select Narrative Forge in the package list.
- Open the Samples section.
- Select Harbour Demo and click Import.
The sample is copied into Assets/Samples/Narrative Forge/…. Open
Scenes/NarrativeForgeDemo.unity and press Play.
Verify the install¶
- Create or open a scene.
- Select a GameObject and choose Add Component.
- Search for Narrative Forge.
You should see the Narrative Forge component, plus Dialogue View and Quest Log View under the same add-component menu.
If the components do not appear, check the Console for compile errors and confirm that the package is listed under Packages: In Project.
Updating¶
- Asset Store: update from Package Manager → My Assets.
- Tarball: remove the old package, then add the new tarball. Keep your JSON assets and scene references outside the package folder.
- Embedded: replace the package folder and let Unity recompile.
Save data is versioned. The current save version is 1.