For the most part, you can choose any names you like for thefolders in your project but Unity reserves some names to indicatethat the contents have a special purpose. Some of these foldershave an effect on the order of script compilation. Essentially,there are four separate phases of script compilation and the phasewhere a script will be compiled is determined by its parentfolder.
This is significant in caseswhere a script must refer to classes defined in other scripts. Thebasic rule is that anything that will be compiled in aphase
Another situation occurs when a script written in one language mustrefer to a class defined in another language (say, a UnityScriptfile that declares variables of a class defined in a C# script).The rule here is that the class being referenced must have beencompiled ina
The phases of compilation are as follows:-
Additionally, any script inside a foldercalled
A common example is where a UnityScript file needs to reference aclass defined in a C# file. You can achieve this by placing the C#file inside a Plugins folder and the UnityScript file in anon-special folder. If you don’t do this, you will get an errorsaying the C# class cannot be found.