Hi,
I am unable to declare a script object which is not the main assets directory but in a subdirectory, how will I tell unity that to declare the script object which exists in a subdirectory?
Regards,
vanhouten777.
Hi,
I am unable to declare a script object which is not the main assets directory but in a subdirectory, how will I tell unity that to declare the script object which exists in a subdirectory?
Regards,
vanhouten777.
Hi,
Another problem is that I am writing the whole game code in javascript but this particular script is C Sharp.
Regards,
vanhouten777.
Hi,
Does anyone know about this???
Regards,
vanhouten777.
Hi,
Does anyone know about this???
Regards,
vanhouten777.
Obviously you didn’t provide enough information so that people are able or willing to help you. And bumping the thread won’t help either.
Have you isolated the problem? Most likely, there’s some weird stuff going on in your project since mixing C# and UnityScript isn’t an issue at all.
Post some code or or zip it up and upload it to your Dropbox.
Actually, I think there can be compile order issues with referencing non-monobehaviours across US and C#.
OP: You can try moving your non-MB C# scripts into “Assets/Standard Assets” or google for compile order and/or the actual error you’re getting.
Or maybe it’s something totally different, as there isn’t even a compiler error to go on here.
At any rate, using the internets to quickly figure out stuff like this is an important developer skill… Waiting days and bumping threads hoping for forum responses is not going to go well.
Hi Smooth P,
I downloaded a package or plugin via asset store which made directory in the assets directory. If we change the directory to the one you told “Assets/Standard Assets” will it cause any problem.
Regards,
vanhouten777.