instance property
UnityDesktopEmbedderPlatform
get
instance
The default instance of UnityDesktopEmbedderPlatform to use. Defaults to MethodChannelUnityDesktopEmbedder.
Implementation
static UnityDesktopEmbedderPlatform get instance => _instance;
set
instance
(UnityDesktopEmbedderPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends UnityDesktopEmbedderPlatform when they register themselves.
Implementation
static set instance(UnityDesktopEmbedderPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}