Selection.gameObjects 游戏物体列表

static var gameObjects : GameObject[]

Description描述

Returns the actual game object selection. Includes prefabs, non-modifyable objects.

返回实际选择的游戏物体。包括预设物,不可修改的物体。

When working with objects that are primarily in a scene, it is strongly recommended to use Selection.transforms instead.

当使用场景中的主要物体时,强烈推荐使用Selection.transforms来代替。

Page last updated: 2011-4-11