-
Notifications
You must be signed in to change notification settings - Fork 448
Added Unity DLLs path relative to Unity installation directory #348
Conversation
|
Hey @mpOzelot ... thanks for the conbtribution! |
docs/contributing/how-to-build.md
Outdated
| - Copy [common/ApplicationInfo_Local.cs-example](../../common/ApplicationInfo_Local.cs-example) to `common/ApplicationInfo_Local.cs` and fill out the clientId/clientSecret fields for your application. | ||
|
|
||
| The build needs to reference `UnityEngine.dll` and `UnityEditor.dll`. These DLLs are included with Unity. If you've installed Unity in the default location, the build will be able to find them automatically. If not, copy these DLLs from your Unity installation into the `lib` directory in order for the build to work. | ||
| The build needs to reference `UnityEngine.dll` and `UnityEditor.dll`. These DLLs are included with Unity. If you've installed Unity in the default location, the build will be able to find them automatically. If not, copy these DLLs from `Unity/Editor/Data/Managed` into the `lib` directory in order for the build to work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I think you have the right idea, but maybe we should make it the best of both worlds...
I was thinking...
copy these DLLs in
Unity/Editor/Data/Managedfrom your Unity installation into thelib
What do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, we should be explicit about where things are. Would
copy these DLLs from `[your Unity installation path]\Unity\Editor\Data\Managed`
make sense to users? This is really only going to affect Windows users since on mac there's no way to tell the installer to install anywhere else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, what you propose is even more clear.

Noticed that there are a lot of files called
UnityEngine.dllandUnityEditor.dll(probably they are all the same). Also figuring out how pull requests work.