Open barkermn01 opened 1 month ago
So just to confirm, this has been done and works for the Launcher it's now part of the release, however packing into the Assembly.CSharp does not appears possible because Unity does not seem to have any entry point code. still looking at other options though.
As i have done with the Launcher in my Draft PR #711 (using .Net Assembly Hook) we should be able to do the same thing for the DLL Projects using https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-9.0/module-initializers
Other references to read to understand this technology, https://stackoverflow.com/questions/8206736/c-sharp-equivalent-of-dllmain-in-c-winapi
This is an issue for me to investigate this technology and if we can utilize it if you want to just assign it to me.