Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

Can I use platform-specific UIs

$
0
0
Short version: Is it possible to make separate UIs for each platform natively so that I can show real Windows Phone / iOS / Android UI elements while still using Unity? Long Version: I started a project a few months ago where I was attempting to use a native UI for each of the mobile platforms and have the platform-specific code talk back and forth with the Unity code. I had this working in a Windows Universal App by modifying the main XAML and XAML.cs files. I mostly used UnityEngine to do the communication. So now it has been a few months and it is no longer working. I get errors about not being able to call some of the UnityEngine methods on a non-main thread. I used a dispatcher to invoke my code on a UI thread and that still does not seem to be helping. Is there a way that I can accomplish what I'm explaining? Like I mentioned, I did have this working for a Windows Universal App at some point, but something has changed. I did not do much with iOS or Android yet. Edit: I am using a very similar method to what is described in the docs for communication between a Windows Phone 8 app and Unity. http://docs.unity3d.com/Manual/wp8-unity-interaction.html

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>