Version: 2018.2
Cargando recursos en tiempo de ejecución
Inspector de Plugins

Plugins

In Unity, you normally use scripts to create functionality, but you can also include code created outside Unity in the form of a Plugin. There are two kinds of plugins you can use in Unity: Managed plugins and Native plugins.

Managed plugins are managed .NET assemblies created with tools like Visual Studio. They contain only .NET code which means that they can’t access any features that are not supported by the .NET libraries. However, managed code is accessible to the standard .NET tools that Unity uses to compile scripts. There is thus little difference in usage between managed plugin code and Unity script code, except for the fact that the plugins are compiled outside Unity and so the source may not be available.

Los Native plugins son librerías de código nativo especifico a plataformas. Pueden acceder a características como llamados OS y librerías de código de terceros que por el contrario no están disponible en Unity. Sin embargo, estas librerías no son accesibles a las herramientas de Unity en la manera que las librerías managed (manejadas) lo son. Por ejemplo, si a usted se le olvida agregar un archivo plugin managed (manejado) al proyecto, usted obtendrá mensajes de error de compilación estándares. Si usted hace lo mismo con el plugin nativo, usted solamente verá un reporte de error cuando intente ejecutar el proyecto.

This section explains how to create plugins and use them in your Unity Projects.


  • 2018–03–19 Page amended with limited editorial review

  • MonoDevelop replaced by Visual Studio from 2018.1

Cargando recursos en tiempo de ejecución
Inspector de Plugins