文档

Unity Engine

Unity Engine

AddNotificationReceiver<U>(U, INotificationReceiver)

Registers a new receiver that listens for notifications.
阅读时间1 分钟最后更新于 1 个月前

Definition

AddNotificationReceiver<T>(T, INotificationReceiver)

public static void AddNotificationReceiver<U>(this U output, INotificationReceiver receiver) where U : struct, IPlayableOutput

Parameters

output

T
The target output.

The receiver to register.