ドキュメント

Unity Engine

Unity Engine

IssuePluginEventAndDataWithFlags(nint, int, CustomMarkerCallbackFlags, nint)

Send a user-defined event to a native code plugin with custom data and callback flags.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

IssuePluginEventAndDataWithFlags(IntPtr, int, CustomMarkerCallbackFlags, IntPtr)

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