UnityEngineFactory
interface UnityEngineFactory
Factory for creating Unity Player instances.
This interface allows for the creation of Unity Players of different versions or implementations. It encapsulates the logic of selecting and instantiating the appropriate Unity Player based on specific requirements or configurations.
Properties
Functions
Link copied to clipboard
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.
Link copied to clipboard
Sends a message to a specific GameObject within the Unity Player instance, calling the specified method with the provided parameter.