Skip to content
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

After processing Yarn asset imports Dialogue Runner should reload current programs #78

Open
cjacobwade opened this issue Mar 3, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@cjacobwade
Copy link

Is your feature request related to a problem? Please describe.
My workflow for dialogue tends to involve a lot of little edits as I play through in context. Rather than exiting playmode for those changes a dialogue system should respond to asset reimports like the rest of Unity.

Describe the solution you'd like
The Dialogue Runner should automatically respond to reimports of loaded programs and reload them / force dialogue to restart at the current node (current line would be better but I don't have a good solution in mind for that)

Describe alternatives you've considered
None! This seems like a pretty obviously useful feature.

Additional context

Going to post my addition of a AssetPostProcessor and DialogueRunner function to make this happen for my project

AssetPostProcessor
https://imgur.com/gLrM3HG

DialogueRunner.ForceReloadScripts
https://imgur.com/a/iaJtVu2

@desplesda
Copy link
Contributor

desplesda commented Mar 3, 2021 via email

@desplesda desplesda added the enhancement New feature or request label Jul 9, 2021
@parisba parisba added this to the v2.1 milestone Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants