The question is answered, right answer was accepted
Inspector float var input more decimals than three
hi, is there any way to add more than 3 decimaln in inspectr for a float variable ?
i want to add gps coord and i need more than three decimals
thank you
Answer by tormentoarmagedoom · May 10, 2018 at 08:37 AM
Good day.
I don't know if you can add more than 3 decimals in a public float variable by inspector. But what you can do is to create a publicstring variable to allow you to add any number of decimals, and then convert the string to a float by
float.TryParse(stringVaraible);
It's a solution! :D
Follow this Question
Related Questions
float value carries over from runtime causing issues + it doesnt update in the inspector 0 Answers
How to get device location in double insead of float 0 Answers
Preprocessor conditional code for cleaner inspector options 1 Answer
Creating game objects from inspector 0 Answers
How do I bind the value of a public variable from the inspector to some other variable/constant? 0 Answers