gameObjects
Returns the actual game object selection. Includes Prefabs, non-modifiable objects.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
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.