- Home /
Question by
haiderInUnity · Jul 31, 2020 at 04:18 PM ·
instantiatelistprefabsclassserialize
change value of prefab field in a array of prefabs
Hi i have array of SpikeArea prefabs
each prefab has a field called Area Size
I want to know how can i expose Area Size field in the AreasList array above so that i can assign different values for each of the same prefab SpikeArea...(other than making different prefabs with just changing one field)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613004550im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to add GameObject to List using a constructor method 1 Answer
Cannot cast from source type to destination type when trying to add Prefab instantiate to a list 0 Answers
Problem not remove all prefab from list aftre the instantiate 1 Answer
Instanting prefabs at a point then storing them in a list 1 Answer
using classes in List<>'s 1 Answer