Pass value through UIView to Unity - Mantas Puida

http://answers.unity3d.com/questions/9301/sneak-in-uiview

A user on answers.unity posted some info on how to use a UIView to open a unity app. I forget to ask how to pass initial vars from the uiview to unity at the same time.

Anybody know how to do this, or how to contact user Mantas Puida?

Mantas is actually a member of Unity’s iPhone development team. I’ll pass the message on.

Thannks!!

The pass in is handled through UnitySendMessage which is kind of similar to the corresponding webplayer functionality and just an external form of “SendMessage” / “BroadcastMessage”

alternatively you can just return the value you want to pass in as result from the plugin function naturally if it is a single value. As you pause unity while you are “out in the view” that should work fine.