文档

Unity Engine

Unity Engine

IssuePluginEvent(nint, int)

Send a user-defined event to a native code plugin.
阅读时间1 分钟最后更新于 1 个月前

Definition

IssuePluginEvent(IntPtr, int)

public void IssuePluginEvent(nint callback, int eventID)

Parameters

callback

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

eventID

User defined id to send to the callback.

Remarks

See GL.IssuePluginEvent for more details and an example.