YarnSpinnerTool / YarnSpinner-Unity

The official Unity integration for Yarn Spinner, the friendly dialogue tool.
MIT License
522 stars 91 forks source link

Make fields on LineView public #289

Open iatenothingbutriceforthreedays opened 1 month ago

iatenothingbutriceforthreedays commented 1 month ago

Any reason why the exposed parameters on LineView (e.g. useTypewriterEffect, autoAdvance) are not public?

Is your feature request related to a problem? Please describe. I want to modify properties of a LineView from code, e.g. switch on/off useTypewriterEffect or autoAdvance. Useful for changing these properties during the game or for constructing a new LineView in code (in line with typical usage of monobehaviour components)

Describe the solution you'd like These fields could be public or at least have public setters

I ave a local copy with these changes, can make a PR if this seems reasonable/useful