How to Communicate from Unity to a Native iOS Swift Project
Passing a string from Unity to iOS
Published in
2 min readMay 28, 2019
I want to embed Unity in an iOS project and pass a string from Unity to iOS project by clicking a button in Unity.
Part 1: Unity script
- In your Unity scene’s C# script, add the following line in your
public Class{}
. In my case, I add it in my…