# GvrDropdown Class Reference

# GvrDropdown

Dropdown UI component that works with the GvrRaycasters.

## Summary

This is a workaround for the fact that the Dropdown component doesn't work with custom raycasters because it internally adds two GraphicRaycasters.

### Inheritance

Inherits from: Dropdown

| ### Public functions ||
|---|---|
| `https://developers.google.com/vr/reference/unity/class/GvrDropdown#classGvrDropdown_1a68e95381f7afed0f55c26e59dce207af(PointerEventData eventData)` | `override void` |
| `https://developers.google.com/vr/reference/unity/class/GvrDropdown#classGvrDropdown_1afccd84c360dc72274673a9e1ee2407d5(BaseEventData eventData)` | `override void` |

| ### Protected functions ||
|---|---|
| `https://developers.google.com/vr/reference/unity/class/GvrDropdown#classGvrDropdown_1a781e35379f17bd66966ad952b7b0c137(Canvas rootCanvas)` | `override GameObject` |
| `https://developers.google.com/vr/reference/unity/class/GvrDropdown#classGvrDropdown_1ac1ac940b51151e4a9a15b54a15990542(GameObject template)` | `override GameObject` |

## Public functions

### OnPointerClick

```c#
override void OnPointerClick(
  PointerEventData eventData
)
```

### OnSubmit

```c#
override void OnSubmit(
  BaseEventData eventData
)
```

## Protected functions

### CreateBlocker

```c#
override GameObject CreateBlocker(
  Canvas rootCanvas
)
```

### CreateDropdownList

```c#
override GameObject CreateDropdownList(
  GameObject template
)
```