Legacy Documentation: Version 4.6
Language: English
Interaction between Unity and Windows Phone step by step guide
Windows Phone Plugins step by step guide (using C#)

Windows Phone 8: Plugins

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Windows Phone 8 plugins work almost identically to Windows Store plugins. They enable access to types in .NET for Windows Phone that would otherwise be inaccessible from Unity. Two assemblies must be compiled with identical names and interfaces. By interface we mean public type names, methods, properties, etc. One of them is placed in Assets\Plugins folder and is used by the Editor. Another one (with Windows Phone 8 specific implementation) should be placed in Assets\Plugins\WP8 folder. During the build process it will overwrite default plugin and will be used on the actual device.

Interaction between Unity and Windows Phone step by step guide
Windows Phone Plugins step by step guide (using C#)