- Home /
Question by
theborinator88 · Nov 20, 2020 at 10:58 AM ·
scripting problemvariables
How do I attach a GameObject to a static variable?
How do I attach a GameObject to a static variable?
Comment
Answer by Revolution_Game · Nov 20, 2020 at 11:09 AM
why would you want to make a gameobject static
I need to reference a sprite from multiple scripts.
Your answer
![](https://koobas.hobune.stream/wayback/20220613020113im_/https://answers.unity.com/themes/thub/images/avi.jpg)