- Home /
Adding custom dependencies to C# script files
I currently have a Monobehavior script (C#) that uses classes defined in a few other script files.
When I select a prefab that uses that Monobehavior and want to export a package, Unity doesn't automatically pick up the classes definition scripts, I have to select them manually.
I was wondering if there were a way to add/tweak resources dependencies in a project.
Thanks.
Answer by john-essy · Sep 24, 2012 at 11:55 AM
There is a button called "Include Dependencies" that works for me :) Just selsct this when you try and export your package
That's the point, when "Including Dependencies", it doesn't include C# classes files that are necessary to the dependencies.
Your answer
Follow this Question
Related Questions
Getting on drag functions into other classes 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Running a shell script before resolving dependencies 0 Answers
Flip over an object (smooth transition) 3 Answers