Selection.transforms Manual     Reference     Scripting  
Scripting > Editor Classes > Selection
Selection.transforms

static var transforms : Transform[]

Description

Returns the top level selection, excluding prefabs.

This is the most common selection type when working with scene objects.