Version: 2022.3

PickingIncludeExcludeList

struct in UnityEditor

切换到手册

描述

Represents a list of Unity Object and DOTS Entity IDs that picking algorithms can either consider or discard.

变量

ExcludeEntitiesAn array of DOTS Entity IDs that the picking algorithm doesn't consider when it selects the nearest object.
ExcludeRenderersAn array of GameObjects that the picking algorithm doesn't consider when it selects the nearest object.
IncludeEntitiesAn array of DOTS Entity IDs that the picking algorithm exclusively considers when it selects the nearest object. If this is null, Unity considers all DOTS Entities in open scenes for selection.
IncludeRenderersAn array of GameObjects that the picking algorithm exclusively considers when it selects the nearest object. If this is null, Unity considers all GameObjects in open scenes for selection.

构造函数

PickingIncludeExcludeListConstruct a PickingIncludeExcludeList.

公共函数

DisposeDispose all the Unity.Collections.NativeArray inside the struct.