Unity - Scripting API: SelectionMode
enumeration
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Properties
| Property | Description |
|---|---|
| Unfiltered | Uses everything in the selection when passed to Selection.GetTransforms. |
| TopLevel | Only return the topmost selected transform. A selected child of another selected transform will be filtered out. |
| Deep | Uses the transform of the selection and all child transforms of the selection. |
| ExcludePrefab | Excludes any prefabs from the selection. |
| Editable | Only include objects that can be edited. |
| Assets | Uses any selected assets when passed to Selection.GetTransforms. |
| DeepAssets | Includes all assets and subfolders if the selection contains folders. |