Version: 2019.4

SelectionMode

enumeration

マニュアルに切り替える

説明

SelectionMode は Selection.GetTransforms によって返される Selection を微調整できます。

The default transform selection mode is: SelectionMode.TopLevel | SelectionMode.ExcludePrefab | SelectionMode.Editable.

変数

Unfiltered選択されたすべてを返します
TopLevel最上位の選択した Transform を返すだけです。別の選択した Transform の選択した子は除外します。
Deep選択したものと、子となるすべてのものを返します
ExcludePrefabExcludes any Prefabs from the selection.
Editable変更されていないオブジェクトを除外したものを返します
Assetsアセットとしての( Project ウィンドウに存在する)オブジェクトのみを返します
DeepAssets選択項目にフォルダーが含まれている場合、そのフォルダーの中の階層に入っているアセットやフォルダーもすべて選択されます。
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961