Question by
anthot4 · Jul 25, 2016 at 08:32 PM ·
prefabsprefab-instance
How to I pass a variable in to a script on a prefab?
I am trying to pass a variable in to a script which is on a prefab. I know how to pass a variable in to a script on a game object by using but how is this possible with a prefab?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612085516im_/https://answers.unity.com/themes/thub/images/avi.jpg)