Skip to main content
Version: 20 Mar 2024

DispatchNoPayload

Overloads the generic dispatcher to call back a method without a payload

Inherits from:
UnityEngine.XR.MagicLeap.Native.MLThreadDispatch.Dispatcher

Public Methods

override void Dispatch

Dispatches the previously stored callback

public override void Dispatch()

DispatchNoPayload

Initializes a new instance of the DispatchNoPayload class with the supplied callback

public DispatchNoPayload(
System.Action action
)

Parameters

TypeNameDescription
System.ActionactionMethod to call back