Manual     Reference     Scripting  
  
Scripting > Editor Classes > Selection   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Enumerations
  • History
  • Index
  • Selection
  • All Members
  • Class Variables
  • activeGameObject
  • activeInstanceID
  • activeObject
  • activeTransform
  • gameObjects
  • instanceIDs
  • objects
  • transforms
  • Class Functions
  • Contains
  • GetFiltered
  • GetTransforms

Selection.objects  

static var objects : Object[]

Description

The actual unfiltered selection from the Scene.

Only objects from the Scene or Hierarchy will be returned, not from the Project View. You can also assign objects to the selection.

See Also: Selection.instanceIDs.