Method CreateBlocker
CreateBlocker(Canvas)
Create a blocker that blocks clicks to other controls while the dropdown list is open.
Declaration
protected virtual GameObject CreateBlocker(Canvas rootCanvas)
Parameters
| Type | Name | Description |
|---|---|---|
| Canvas | rootCanvas | The root canvas the dropdown is under. |
Returns
| Type | Description |
|---|---|
| GameObject | The created blocker object |
Remarks
Override this method to implement a different way to obtain a blocker GameObject.