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