An RNN for NPCs in a Unity project written from scratch. Might be upgraded to a GRU or LSTM with time.
Open the DLL solution file with Visual Studio and build it. (Check build settings to see if they are correctly building to x64 architecture). The console shows the location of the build.
Create a Plugin folder in the Asset folder and copy the dll into the folder.
In the Unity script that uses the DLL, add "using System.Runtime.InteropServices;".
Functions can now be imported with DLLImport attribute.
Example:
[DllImport("RNN")]
public static extern int test_function();