Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close Submission failedFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close Your name Your email Suggestion*Declarationpublic void StopImmediatePropagation(); Description
Stops the propagation of the event to other targets, and prevents other subscribers to the event on this target to receive the event.
The event is not sent to other elements along the propagation path. If the propagation is in the PropagationPhase.TrickleDown phase, this prevents event handlers from executing on children of the EventBase.currentTarget, including on the event's EventBase.target itself, and prevents all event handlers using the TrickleDown.NoTrickleDown option from executing (see CallbackEventHandler.RegisterCallback). If the propagation is in the PropagationPhase.BubbleUp phase, this prevents event handlers from executing on parents of the EventBase.currentTarget.
This method has the same effect as EventBase.StopPropagation except on execution of other event handlers on the EventBase.currentTarget.
Calling this method does not prevent some internal actions to be processed, such as an element getting focused as a result of a PointerDownEvent.
Refer to the Dispatch events manual page for more information and examples.
Additional resources: EventBase.StopPropagation
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4