Greetings, and sorry for the simple question. After a bunch of searching, I couldn’t quite solve it and I’m still in the early phases of learning C# …
I’d like the attached C# script to have the added functionality of an Interval input, allowing the count speed to be adjusted in ms – as in, for example, the attached Python component found here:
Currently, the script simply counts up to a max value, and counts back down to 0 when reached (and back again) - this is good, but I’d like to slow it down and speed it up without having to overshoot the max and divide the output.
This post has given me a clue as it relates to the above, but I’m a bit stumped on how to bring this into to attached C# component: