Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to work with a prefab as local and global variable? something like that.
So my question is how to change a prefab scale without affecting the original prefab.
\$\begingroup\$Do you mean how to change the scale of an instance of a prefab, after you've Instantiated a copy from the original asset? Try showing us the code you're using now so we can see what you're trying to do.\$\endgroup\$
\$\begingroup\$Also, I presume you're not really using the language UnityScript that Unity discontinued years ago? You're probably looking for answers in C#, so please use care when choosing the tags for your question, and read their descriptions.\$\endgroup\$
Instantiate
d a copy from the original asset? Try showing us the code you're using now so we can see what you're trying to do. \$\endgroup\$