--

Unfortunately swift can not communicate with Unity3D directly. So you have to do it from Objective-C file.

For example, call UnityGetGLViewController() from the objective-C file for get the current ViewController and pass it to the swift file using parameter.

--

--

Habibur Rahman Ovie
Habibur Rahman Ovie

Responses (1)