I have a script component on a game object - I just need to change the value of a float of that component (which in the component is actually a slider) - no clue why i am struggling with this, appreciate any help!
*edit -- looking for schematic advice on how to do that btw
Going to have to make a nice node workflow memory chart hahaha.
Basically my spells in this game change the lands weather, and time - right now I have tickets for those in the inspector as floats (sliders) to manually adjust to find points I like. Now I have those points for the abilities - but it’s really jarring to instantly change the value lol
Something like a new method of "SetNewValueWithLerp" in that script passing in the desired value, and then that just fires off a coroutine that lerps from the current value to the next rather than just instantly setting the new value.
For those poor souls seeking an answer in the future, @Acissathar and @Scyra were pointing the right way, I’ll will be adding this to my Node Showcase on Tips and Tricks, as I believe we need more posts like that around case use node examples.
For this, I wrote a coroutine within the script that controls my sky and weather.
IEnumerator. In Makinom, the schematic simply used a Search Objects Node - check if variable exists node - using selected Data, and then Call Function node, which calls a regular void that fires my coroutine.
Again more to come for the future teams that need help on the tips and tricks post.