So I've been checking out posts regarding source code on this forums and it is clear that GiL does not recommend using source code directly in a unity project. So I will stick with the dll.
I've extracted the ORK and Makinom source code to separate folders for reference purpose. However I can't seem to get my IDE (VSCode in this case) to recognize these source code so that I can "go to definition" to the extracted source code instead of a decompilation version.
I'm using VSCode and would prefer if there's a way to do it with VSCode so that I can use Gemini or other AI tool to help me understand the code.
I have tried
- setting multi-root workspace to include the
- using a merged .sln file that references all .csproj files in both my unity project and ORK source file folder,
- both.
None of the above worked. The C# Dev Kit Extension in VSCode keep telling me the ORK source code file I opened "The active document is not part of the open workspace. Not all language features will be available." when the multi-root workspace already included path to the ORK source files AND the active .sln file references to all 4 .csproj files from the ORK source files.
Is there a way to do it, or the only way to achieve my purpose is to use OKR source code to replace the dll?
An additional question for making informed decision: what are the downsides of using source code directly, in addition to the following (as I read from other posts):
- all previous asset association are gone
- update ORK becomes very complex
Especially, will using source code slow down compilation a lot? I'm already using a potato workstation from 8 years ago to develop so would really prefer to avoid a significant speed drop.