UnityPlayerWrapper
Provides safe and convenient access to UnityPlayer
.
Functions
Link copied to clipboard
Handles the destruction of UnityWallpaperEngine
-owned SurfaceHolder
.
Link copied to clipboard
Forwards configuration changes to Unity.
Link copied to clipboard
Forwards touch events to Unity.
Link copied to clipboard
Pauses the UnityPlayer
.
Link copied to clipboard
Shuts down the UnityPlayer
. Note: this will kill the application process entirely.
Link copied to clipboard
Resumes the UnityPlayer
Link copied to clipboard
Sets internal UnityPlayer
reference to ContextWrapper
, used for soft input and some other stuff.
Link copied to clipboard
Sets the primary rendering surface of UnityPlayer
.