Here is my code: An ArrayList of ArrayList that returns a float:
public ArrayList walls=new ArrayList(); public void Start() { walls[0
Where are you doing the casting?
I would say it must be (did not try with a compiler):
for (int i = 0; i < paredes.Length; i++) { float a=(float)((ArrayList)paredes[i])[0]; ... }
Did you consider using the generic collections instead?
public List> paredes = new List>();