UnityPlayerManager

Manages the lifecycle and interactions of the UnityPlayer instance.

Properties

Link copied to clipboard

Gets a weak reference to the current Activity.

Functions

Link copied to clipboard

Retrieves the current UnityPlayer instance, or null if not initialized.

Link copied to clipboard
fun setUnityPlayer(newInstance: IUnityPlayer)

Sets the current UnityPlayer instance.