DispatchPayload2
Overloads the generic dispatcher to call back a method with two payloads More...
Inherits from:
UnityEngine.XR.MagicLeap.Native.MLThreadDispatch.Dispatcher
Detailed Description
private template <A ,B > class DispatchPayload2 : Dispatcher
Template Parameters:
A
First payload typeB
Second payload type
Public Methods
override void Dispatch
Dispatches the previously stored callback with the supplied payloads
public override void Dispatch()
DispatchPayload2
Initializes a new instance of the DispatchPayload2<A,B> class with the supplied callback and payloads
public DispatchPayload2(
A payload1,
B payload2,
System.Action< A, B > action
)
Parameters
Type | Name | Description |
---|---|---|
A | payload1 | First payload |
B | payload2 | Second payload |
System.Action< A, B > | action | Method to dispatch |