PleaseHelpMe!
We used Naninovel to make an AVG game and wanted to add a "chapter selection" interface.
The details are as follows:
The chapter uses the "# chapter tag" marking in the nani script.
Add a chapter selection button to the title page.
When you press this button, a "Chapter selection" page pops up.
Select the corresponding chapter in the pop-up page, and click to jump to the corresponding chapter.
Only when there is a chapter in customs clearance, can the subsequent chapter be unlocked.
Excuse me, what is the way to achieve this?
How to use Nani script to call a custom scene and how to use C#script to execute Nani commands
-
- Posts: 1
- Joined: 20 Jan 2022 06:00
How to use Nani script to call a custom scene and how to use C#script to execute Nani commands
-
- support
- Posts: 275
- Joined: 01 Aug 2020 08:25
Re: How to use Nani script to call a custom scene and how to use C#script to execute Nani commands
Create a custom UI for the chapter screen. https://naninovel.com/guide/user-interf ... -interface
Create a copy of TitleUI and modify it to include a button for chapter selection. If you're unfamiliar with C# you can use Play Script to execute Nani script from UI: https://naninovel.com/guide/user-interf ... nity-event
Otherwise use PreloadAndPlayAsync for this: https://naninovel.com/guide/integration ... el-scripts