Selection.activeInstanceID 激活实例ID

static var activeInstanceID : int

Description描述

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

返回实际选择的激活的物体的实例ID。包括预设物,不可改动的物体。

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

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

Page last updated: 2011-4-11