I have two script FloorPlan and FloorPosition. The FloorPlan is attached to a plane and the FloorPosition is attached to the main camera. My purpose is to get the ArrayList data from the FloorPlan and then transfer the data into the FloorPosition so that it can display the data in a GUI box. The problem is that I am not sure how I can get the data out and then display it on my FloorPosition GUI.
Make sure that in both your scripts, your classes are public and not static. Then use GameObject.GetComponent in your floor position code to get the array from your floor plan. Then, set the array from your floor plan code to a new array in your floor position code. This new array can then be used for whatever you like. For additional information, or if I was too unclear go to this documentation: