Unity-Technologies / uaal-example

Other
736 stars 234 forks source link

How to send string when we start unity scene from Android ? #46

Open ti-hardikshah opened 3 years ago

ti-hardikshah commented 3 years ago

Hello everyone.

I am not familiar with Android so if any one guide me how to pass String or int when we start Unity scene so i can start multiple scene from loading scene. I am not sure is that possible or not.

harisf3 commented 3 years ago

you can try this via message passing mechanism, like when unity scene is started, you pass msg to android, and then from android you can pass message to unity with your required parameters.