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来代替。

最后修改:2011年4月11日 Monday 11:59

本脚本参考基于Unity 3.4.1f5

英文部分版权属©Unity公司所有,中文部分© Unity圣典 版权所有,未经许可,严禁转载 。