기술 자료

Unity Engine

Unity Engine

IssuePluginEventAndData(nint, int, nint)

Send a user-defined event to a native code plugin with custom data.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

IssuePluginEventAndData(IntPtr, int, IntPtr)

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