Skip to main content
Version: 14 Oct 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