By solany
on Wed, 09/11/2013 - 06:56
Hi,
I have an Android Application from which i start a Unity Player where I have my Augmentations. As I have a database where the Objects I'd like to augment are stored, I would like to pass the right object (which depends on the view where unity is startet) when calling my unity player from android. So like I give the UnityPlayer a parameter or whatever which contains this object and in Unity itself I can read this and render it and augment it on the marker.
I read a lot of articles on how to load data dynamically from Unity StreamingAssets folder but was unable to find anything on how to pass the data from Android.
Does anyone have experience with this/ideas on how this could work?
Thanks!
- S
Pass Data from Android to Unity
One possibility would be to pass your data using Intent "Extra" parameters, as explained here:
Pass Data from Android to Unity
Hi, sorry, I accidentally postet to the wrong forum, hope you don't mind! Thanks for your hints though, I will switch this to a unity forum. Thanks again!