Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IssuePluginEventAndData(IntPtr, int, IntPtr)

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

Definition

public void IssuePluginEventAndData(IntPtr callback, int eventID, 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.