Skip to content

Delegates

Nako Sung edited this page Nov 23, 2015 · 2 revisions

Unlike BP, with Unreal.js you can access all delegates which are reflected as UPROPERTY. In blueprint you cannot access single delegate which returns a value, but Unreal.js lets you do.

SomeNiceInstance.SomeNiceMulticastDelegates.Add(delegate-fn)
SomeNiceInstance.SomeNiceMulticastDelegates.Remove(delegate-fn) 
SomeNiceInstance.SomeNiceMulticastDelegates = [delegate-fn]
SomeNiceInstance.SomeNiceSinglecastDelegates = delegate-fn

Clone this wiki locally