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