Selection.instanceIDs 实例ID列表

static var instanceIDs : int[]

Description描述

The actual unfiltered selection from the Scene returned as instance ids instead of objects.

在场景中激活的过滤选择返回实例的ID代替objects。

Only objects from the Scene or Hierarchy will be returned, not from the Project View. You can also assign objects to the selection.

只有在场景中或者检测面板中的物体将会被返回,在工程试图里的则不能。你也可以赋值一个对象到选择。

The instance ID of an object is always guaranteed to be unique.

一个物体的实例ID总是保证是独一无二的。

参见: Selection.objects, Object.GetInstanceID

Page last updated: 2011-4-11