Documentation
README
Editor / Selection / Get
Get information about the current Selection in the Unity Editor. Use 'editor-selection-set' tool to set the selection.
Toggles (default off where indicated to keep responses small)
includeGameObjects(defaultfalse) — populateGameObjects[].includeTransforms(defaultfalse) — populateTransforms[]asComponentRefs.includeInstanceIDs(defaultfalse) — populateInstanceIDs[].includeAssetGUIDs(defaultfalse) — populateAssetGUIDs[]from project-window selection.includeActiveObject(defaulttrue) — populateActiveObjectas a genericObjectRef.includeActiveTransform(defaulttrue) — populateActiveTransformas aComponentRef.
ActiveGameObject and ActiveInstanceID are always populated.
This is the opening of the README. Read the full README on GitHub.