inkle/ink-unity-integration

How to transfer variable values from one Ink story to another Ink story?

bigpng opened this issue · 1 comments

bigpng commented

I have the following variable at globals.ink:

VAR affinity = ""

And the following in Scene1.ink:

~ affinity = "Shenzhen"

I want to pass affinity to Scene2.ink but I only get the variable value from globals.ink. I have tried to set value and get value through External functions, and tried to play with ObserveVariable. Nothing seems to work. And I cannot find any documentation on how to pass values to a different Ink story. I would appreciate any help.