unity2d how to change float via script code example Example: how to make public float on c# public float (what you want to name it);