Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IssuePluginEventAndDataWithFlags(IntPtr, int, CustomMarkerCallbackFlags, IntPtr)

Send a user-defined event to a native code plugin with custom data and callback flags.
Read time 1 minuteLast updated 4 days ago

Definition

public void IssuePluginEventAndDataWithFlags(IntPtr callback, int eventID, CustomMarkerCallbackFlags flags, IntPtr data)

Parameters

callback

Native code callback to queue for Unity's renderer to invoke.

eventID

Built in or user defined id to send to the callback.


data

Custom data to pass to the native plugin callback.