Method SelectObjects
SelectObjects(List<GameObject>, Transform, bool, bool)
Select the given objects using the given rayOrigin
Declaration
void SelectObjects(List<GameObject> hoveredObjects, Transform rayOrigin, bool multiSelect, bool useGrouping = false)
Parameters
Type | Name | Description |
---|---|---|
List<GameObject> | hoveredObjects | The hovered objects |
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 |