I have a couple of files that I use all over the place - Mainly utils classes.
So let’s say I’m working in project1, and have a script layout of:
Scripts
... Utils
..... Utils.cs
..... Helpers.cs
The classes are defined like so:
public static class Helpers
{
...
}
public static class Utils
{
...
}
In another different project, I also have files of the same name (they were originally the same as from the previous project, but modified more to suit the second project)
Scripts
... Utils
..... Utils.cs
..... Helpers.cs
BUT: in the second project, they’re defined in a separate namespace:
namespace Project2.Utils
{
public static class Helpers
{
}
public static class Utils
{
}
}
Now I’m done working on Project2, and want to export the project as a package, and import it to project1. When I do that, Utils.cs and Helpers.cs from project2 overwrite the corresponding files in project1 even though they were in a different namespace! - This ruins things! Not cool, not cool!
Is this how this stupid thing works? should I be making my custom importer? ahh… everything has to be custom made doesn’t it? is there a tool for this, people use that I don’t know about?
This doesn’t happen if I manually copy the files over (don’t use the import tool)
Thanks.
EDIT:
This is me in project1, importing project2 - the stuff that are not marked with “new” - should be marked!
And look at the import path - it’s wrong! it should be “Complete Delegate/Utils/…” instead of “Scripts/Unapplied/…” which why things are getting ruined.