scripthookvdotnet
scripthookvdotnet copied to clipboard
Calling natives directly in script thread
Add a clear and concise description of the feature you have in mind.
From what I've read, native functions currently work by dispatching it to main thread.
But is it really necessary? I've tried calling native directly from script thread using DllImport, and it seems to be working fine, as long as they're called during the "frame gap" (or Tick).
The idea is actually from @E66666666 (#992)