CustomEvent

Show Deprecated
deprecated

Summary

Methods

Events

Properties

Methods

GetAttachedReceivers

This function returns the CustomEventReceivers that are connected to the CustomEvent.


Returns

SetValue

void

This function sets the value of the CustomEvent and fires the CustomEventReceiver.SourceValueChanged event for all connected CustomEventReceiver|receivers.

Parameters

newValue: number

Returns

void

Events

ReceiverConnected

This event fires when a receiver is connected to the CustomEvent

Parameters

receiver: Instance

ReceiverDisconnected

This event fires when a receiver is disconnected from the CustomEvent.

Parameters

receiver: Instance