UnityPlayerPauseResumeManager

Stores list of UnityPlayerHolder and pauses/resumes the Unity player. Unity player's main loop is only active when at least one UnityPlayerHolder is visible.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Whether Unity Player is currently paused.

Link copied to clipboard

Functions

Link copied to clipboard

Must be called when UnityPlayerHolder changes its visibility state.

Link copied to clipboard
fun setUnityPlayerWrapper(unityPlayerWrapper: UnityPlayerWrapper?)
Link copied to clipboard

Must be called when wallpaper engine is destroyed to correctly handle its destruction.