gameObjects
Returns the actual game object selection. Includes Prefabs, non-modifiable objects.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public static GameObject[] gameObjects { get; }
Remarks
When working with objects that are primarily in a Scene, it is strongly recommended to use Selection.transforms instead.