Hey iam working on a game jam right now and i wonder if i can change a float value in my script and i cant find annything online thank you.
What you mean by change? If you know how to set and read values from string, int, bool etc, you know already how to set float. If you don't, you need back to basics.
Code (csharp): float myFloat = 1.5f; myFloat = 7.6f; //value of myFloat is now changed to 7.6 myFloat += 1.1f //value of myFloat is now changed to approximately 8.7
I dont think doing a game jam is the best thing to do right now if you still need help with stuff like that. Not trying to diss you, none of us was born with the know-hows, but can't hold the hammer right, let alone build a shed, spend some more time learning(books and tuts) pure c#.