For the life of me, I can’t figure this out.
I have a local unity package with this folder structure:
Runtime/
HelixGenerator.cs
Lumic.Music.asmdef
Editor/
HelixGeneratorEditor.cs
Lumic.Music.Editor.asmdef (this one only has "Editor" checked in target platform)
Now, this code fails to compile because it can’t find the type (classname is correct, correct namespace imported).
[CustomEditor(typeof(HelixGenerator), true)]
public class HelixGeneratorEditor : Editor
When I inspect the project references in Visual Studio, I don’t see “Lumic.Music” being referenced in “Lumic.Music.Editor”. I don’t find any option anywhere to be able to add that reference.
Am I missing something?