Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to add #if UNITY_EDITOR in DependenciesHunter.cs #19

Open
jialu0 opened this issue Oct 12, 2023 · 1 comment
Open

Need to add #if UNITY_EDITOR in DependenciesHunter.cs #19

jialu0 opened this issue Oct 12, 2023 · 1 comment

Comments

@jialu0
Copy link

jialu0 commented Oct 12, 2023

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.

@eriknielsen
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants