YarnSpinner icon indicating copy to clipboard operation
YarnSpinner copied to clipboard

Modify TypewriterEffectSpeed by code or built-in command

Open matthers3 opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

I want to modify a LineView typewriter effect speed through code, but the variable is internal and there are no getters or setters.

Describe the solution you'd like

Having a built-in command to use from a Yarn Script or a method to modify such value through a custom command.

Describe alternatives you've considered

Adding a getter or setter in the LineView class for the typeWriterEffectSpeed variable, or a method that modifies such value.

Additional context

I had to make a copy of this class and add a property to modify it. It was quite fast to do, but I was wondering if this is a common issue. Thanks for your time!

matthers3 avatar Aug 09 '22 21:08 matthers3