title: How do you get an int from a prefab?
body: <p>I have a prefab of a store. This store has a count integer in it to signify how many things the store is holding. But this prefab populates many stores with different int values. So store one could have 3 items while store 2 has 40 items and so forth. I need a way to add all of those up and use it in another script. I don't even know where to start. An answer would be ideal but if not just a nudge in the right direction would be greatly appreciated. Thank you in advance.</p>