createUnityPlayer
abstract fun createUnityPlayer(contextWrapper: ContextWrapper, options: UnityOptions = UnityOptions()): IUnityPlayer
Creates a new Unity Player instance. Creates a new Unity Player instance, optionally applying configuration options.
Return
The created Unity Player instance, configured according to the provided options.
Parameters
contextWrapper
The Android context wrapper.
options
UnityOptions instance for customizing the created Unity Player. Defaults to an empty UnityOptions instance.