init Unity Connection
public void initUnityConnection(@NotNull() AndroidToUnityCallback callback)
Content copied to clipboard
Sets up connection from Android to Unity. Allows Unity to pass a callback that can then be used to pass messages back to Unity.
Parameters
callback
the callback sent from Unity.