inkle / ink-unity-integration

Unity integration for the open source ink narrative scripting language.
http://www.inklestudios.com/ink
Other
578 stars 101 forks source link

Are built in functions somehow covered in plugin? #198

Closed SamTyurenkov closed 9 months ago

SamTyurenkov commented 9 months ago

I tried to use:

~ temp randomVar = RANDOM(0,2) and sentences are based on that random value.

It works in Inky editor, but in Unity I always get first result.

Should I custom code and pass this variable from c# instead or else how can I make it work?

Thanks

SamTyurenkov commented 9 months ago

It seems I met a really rare case, I got 10 times the same result. Now I see its working properly.