Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PickingIncludeExcludeList

Represents a list of Unity Object and DOTS Entity IDs that picking algorithms can either consider or discard.
Read time 1 minuteLast updated 5 days ago

Definition

Warning
Removed. PickingIncludeExcludeList is deprecated. Use PickingIncludeExcludeEntityIdList instead.
public struct PickingIncludeExcludeList : IDisposable

Constructors

Properties

Property

Description

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.

Methods

Method

Description

DisposeDispose all the NativeArray inside the struct.