Hi there guys, please I need help with this,my brain is having a freeze or something.
Scenario:
I let my user create and populate variables (float only) and store these in a dictionary called userFloats (check)
I create sliders from my own Slider class, giving each a lable name that the user specified (check)
I have a test math formula y=x*x + x and I am updating x with a deltaTime variable (check)
I have a cube and sphere prefab with all it’s obvious x,y,z,mass etc properties that can be modified(check)
ok
Question:
How can I now dynamically link any userFloat variable with a variable in the formula and that must be linked to one/more of my object properties. Basically, the result must be that i can choose which slider controls which variable, which in turn controls an object property.
I will really appreciate any help on this urgent problem, thanks