- Home /
Question by
Aldwoni_legacy · May 16, 2011 at 09:33 AM ·
multiplecopyshare
How to make sure a script is not shared?
I have multiple cubes with the same script. How do I know they all have a copy of the same script or all use the same script?
Comment
Best Answer
Answer by Jake-L · May 16, 2011 at 09:52 AM
You know because it's the usual behaviour: As soon as you attach a script to a game object, it's a copy. Just make sure to not use static variables if you want the script to be independent.
Your answer
![](https://koobas.hobune.stream/wayback/20220613134411im_/https://answers.unity.com/themes/thub/images/avi.jpg)