Call functions
Call unmanaged functions in a native plug-in from C#, and call back into managed code from unmanaged code.
読み終わるまでの所要時間 1 分最終更新 6日前
Native plug-in interoperation works in both directions: managed C# code can call unmanaged functions in a native plug-in, and unmanaged code can call back into managed functions through a function pointer.
Topic | Description |
|---|---|
| Call unmanaged functions from managed code | Declare and call an unmanaged function in a native plug-in from your C# scripts. |
| Call managed functions from unmanaged code | Pass a C# delegate to native code so that unmanaged functions can call back into your managed code. |