-
-
Notifications
You must be signed in to change notification settings - Fork 16
SetInitialVariables improvements #15
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
Comments
Hey, thanks for the issue. Looking at the Unity implementation which this repo is based on, I don't think this is used there either. Seems to be a utility provided for users to manually reset values to initial variables as far as I can tell. I haven't seen the issue with auto started stories missing variables, could you make an issue describing that? Seems that the root of the request here is fixing that, which might just be a bug with another cause. |
I just added an example usage of 'start automatically' in #16, where Intro.yarn seems to use the default value of the string variable correctly. But if you can give a reproduction of the scenario you're seeing where variables aren't initialized, I can take a look. Thank you |
Since I haven't had any reports outside this issue of missing variables, and this method was not called directly in the Unity version either, I'm going to close this. Let me know if you have any other issues |
Method
SetInitialVariables
in classDialogueRunner
SetAllVariables
onVariableStorageBehaviour
, which is helpful if a custom variable storage object fires events when variables are setThe text was updated successfully, but these errors were encountered: