Unity & Windows Phone 8
How can Navigate unity mainplayer.xaml to NewPage.xmal (page is include Web Browser Component) Cannot create instance of type ‘Microsoft.Phone.Controls.WebBrowser’
I am using : NavigationService.Navigate(new Uri(“/NewPage.xaml”, UriKind.Relative));
Check this Link:
http://blogs.msdn.com/b/uk_faculty_connection/archive/2013/09/11/getting-started-building-windows-phone-games-with-unity.aspx
To tweak XAML UI from a Unity callback, use this:
Dispatcher.BeginInvoke(() => { //access XAML UI elements here.. });
To call from within XAML UI thread onto the Unity thread, use:
UnityApp.BeginInvoke(() => { //access Unity objets here.. });
u need add capability in WMAppManifest.xml (ID_CAP_WEBBROWSERCOMPONENT)