- Home /
Machine gun script problem
Hi all,i am new at unity3d and i have problem,when i want to add some script to game object it sah "Can't add script,Script machine gun has not finished compilation yet,please wait until compilation of script has finished and try again....." what's problem,and what i need to do.....
Sorry about my english.......
Answer by 3dDude · Sep 15, 2010 at 01:10 PM
there is probably a error someplace in your code... in the button left of the unity icon right:
if there is red text down there then there is a error in your code... so post your code and then maybe i find the error(if there is one)
Answer by Jared 2 · Apr 15, 2011 at 03:22 PM
it means that your not finished adding codes to the script
Answer by Jason_DB · Apr 15, 2011 at 09:21 PM
The changes to scripts take a little time to apply after you save them. That message just means that your most recent changes to the script are still being applied. Just wait a bit (until the little swirl in the bottom right stops) and try adding it again.
foiled again by a resurrected question, I need to start looking at the dates! I suppose his script finished compiling in the seven months since he asked the question...
Your answer
![](https://koobas.hobune.stream/wayback/20220613073239im_/https://answers.unity.com/themes/thub/images/avi.jpg)