Method SelectObject
SelectObject(GameObject, Transform, bool, bool)
Select the given object using the given rayOrigin
Declaration
void SelectObject(GameObject hoveredObject, Transform rayOrigin, bool multiSelect, bool useGrouping = false)
Parameters
Type | Name | Description |
---|---|---|
GameObject | hoveredObject | The hovered object |
Transform | rayOrigin | The rayOrigin used for selection |
bool | multiSelect | Whether to add the hovered object to the selection, or override the current selection |
bool | useGrouping | Use group selection |