言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

Selection.activeInstanceID

public static var activeInstanceID: int;

Description

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

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