Visual Scripting

Naninovel C# API can be used with third-party visual scripting tools, such as Bolt. See the following guide for required setup and usage examples.

Bolt

Bolt brings complete visual scripting to Unity, empowering artists, designers and programmers to create gameplay mechanics and interactive systems without writing a single line of code.

Setup

Download and install Bolt package to your Naninovel project. Bolt v2 is recommended, as the previous version doesn't support generics under AOT platforms (Naninovel core API is using generics extensively).

Now we need to expose Naninovel API for Bolt. Open the extractor tool via Tools/Bolt/Extractor...:

Under "Namespaces" tab add a new namespace record, find "Naninovel" in the list, check "Hierarchy" and press "Fast Extract":

That's it, you can now use Naninovel C# API in your bolt graphs.

Usage

The following video demonstrates using Bolt flow graph to subscribe to Engine.OnInitialized event, get NovelScriptPlayer engine service and play a novel script.

Other Solutions

If you wish us to make setup and usage guides for other third-party visual scripting solutions, contact developers of the solution and ask them to provide us access to their tool.