UnityEngineView

fun UnityEngineView(modifier: Modifier = Modifier, onUnityEngineCreated: () -> Unit)

Composable function that displays the Unity Engine instance within your Compose UI.

Parameters

modifier

Modifier to apply to the Unity Engine view.

onUnityEngineCreated

Callback invoked when the Unity Engine is created and ready.