-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Multiple Global Variable Sets #66
Conversation
Basic functionality is working and tested. Just have to make sure it plays nice with source control and add a few helpers. |
c1d0d87
to
deb1e04
Compare
Okay, I'm still getting an issue where existing global variable assets become corrupted if you add variable sets in Articy and import. I may have to reimagine how this works unfortunately. |
Using dummy assets called |
Despite the
ArticyFlowPlayer
having a property calledOverrideGVs
, we did not actually properly support having multiple independent variable sets. You could duplicate the generated global variables asset, but it wouldn't be handled correctly and in some cases would crash the game.We now support this workflow. To create a new global variables set, just duplicate the generated asset and move the new copy somewhere else in your project. Any flow player whose
OverrideGV
property is set to this asset will use this variable set instead of sharing the default set.Similar to the default set, these other sets respect the
Persist Global Variables Across Worlds
setting.