making a variable c# unity float value code example Example: how to make public float on c# public float (what you want to name it);