Version: 2020.3
Language : English
IL2CPP scripting backend for UWP
Use managed UWP plug-ins

Use UWP plug-ins with IL2CPP

You can use plug-ins to call code created outside of Unity from your C# scriptsA piece of code that allows you to create your own Components, trigger game events, modify Component properties over time and respond to user input in any way you like. More info
See in Glossary
. The plug-in model for Universal Windows PlatformAn IAP feature that supports Microsoft’s In App Purchase simulator, which allows you to test IAP purchase flows on devices before publishing your application. More info
See in Glossary
(UWP) is similar to other Unity-supported platforms. For more information about plug-ins with Unity, refer to Plug-insA set of code created outside of Unity that creates functionality in Unity. There are two kinds of plug-ins you can use in Unity: Managed plug-ins (managed .NET assemblies created with tools like Visual Studio) and Native plug-ins (platform-specific native code libraries). More info
See in Glossary
.

Topic Description
Use managed UWP plug-ins Understand how to use managed plug-insA managed .NET assembly that is created with tools like Visual Studio for use in Unity. More info
See in Glossary
.
Call and implement native UWP plug-ins Understand how to call and implement native plug-insA platform-specific native code library that is created outside of Unity for use in Unity. Allows you can access features like OS calls and third-party code libraries that would otherwise not be available to Unity. More info
See in Glossary
.
Author native UWP plug-ins Understand how to author native plug-ins.
Use P/Invoke Learn the rules and limitations of using P/invoke.

Additional resources

IL2CPP scripting backend for UWP
Use managed UWP plug-ins