Custom Variable

Using Naninovel C# APIs: adding custom actor implementations or commands, overriding engine services, integrating with other systems, etc.
Post Reply
drunkrobot
Posts: 17
Joined: 14 Jul 2020 16:52

Custom Variable

Post by drunkrobot »

Hi i have a question, can i inizialize and dynamically assign a custom variable of naninovel in a c# script?

Elringus
admin
Posts: 521
Joined: 11 May 2020 18:03

Re: Custom Variable

Post by Elringus »

Sure, use ICustomVariableManager engine service for that.

drunkrobot
Posts: 17
Joined: 14 Jul 2020 16:52

Re: Custom Variable

Post by drunkrobot »

Thanks i haven't undestanded that i have to add the engineService and that the variable accepts only the string

Post Reply