I have a few float variables and an array
`public float zero = 10.5;`
`public float one = 25;`
`public float two = 50;`
`public float three = 75;`
`public float four = 12.5;`
`public float five = -65;`
`float[] numbers;`
can I make these variables go into the (or an) array so that they are indexed and I can use them from other scripts by writing something like:
`float otherZero;`
`otherZero = FirstScript.numbers[0] //meaning it's value will be 10.5`
i'm am not sure if this is possible or how to do it. i've been watching a lot of tutorials on loops/lists/arrays and classes but it's just not coming to me
↧