In the package i need community with a Assets/Plugins/SomeClass.
namespace SomeClassNameSpace
{
public class SomeClass
{
…
}
}
I add “using namespace SomeClassNameSpace;” in a package file, the vs 2017 prompt can’t find the namespace SomeClassNameSpace.
I set up something wrong or it is not possible?
Thanks.
This should work, given you have your assembly definitions set up correctly. Both the package and the plugin need one and the plugin one needs to reference the package one.
However, packages should only have reference to other packages. Ideally, you’d convert your plugin to a package and make it an explicit dependency of your other package, so that it gets installed automatically when needed.