Dropdown.CreateBlocker

protected GameObject CreateBlocker(Canvas rootCanvas);

Parameters

rootCanvasThe root canvas the dropdown is under.

Returns

GameObject The obtained blocker.

Description

Override this method to implement a different way to obtain a blocker GameObject.

The blocker blocks clicks to other controls while the dropdown list is open.

Did you find this page useful? Please give it a rating: