string to float in c# unity code example Example: how to make float in unity c# public float number = 5;