Method GetSelectionCandidate
GetSelectionCandidate(GameObject, bool)
Given a hovered object, find what object would actually be selected
Declaration
GameObject GetSelectionCandidate(GameObject hoveredObject, bool useGrouping = false)
Parameters
| Type | Name | Description |
|---|---|---|
| GameObject | hoveredObject | The hovered object that is being tested for selection |
| bool | useGrouping | Use group selection |
Returns
| Type | Description |
|---|---|
| GameObject | Returns what object would be selected by selectObject |