AlexeyPerov/Unity-Dependencies-Hunter

Need to add #if UNITY_EDITOR in DependenciesHunter.cs

Opened this issue · 1 comments

jialu0 commented

It would be necessary to add a #if UNITY_EDITOR before the first line and #endif after the last line, otherwise it would fail when making a build in unity.

Alternatively you can put it in a folder named Editor which I think is a more common approach to Editor only features like this one