Auf Englisch lesen Bearbeiten

Freigeben über


BaseObjectCollection Class

Definition

C++
public ref class BaseObjectCollection abstract : UnityEngine::MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
BaseObjectCollection
Derived

Constructors

Properties

IgnoreInactiveTransforms

Whether to include space for inactive transforms in the layout

NodeList

List of objects with generated data on the object.

NodeListReadOnly

Read only list of objects with generated data on the object.

OnCollectionUpdated

Action called when collection is updated

SortType

Type of sorting to use.

Methods

ContainsNode(Transform, Int32)

Check if a node exists in the NodeList.

ContainsNode(Transform)

Check if a node exists in the NodeList.

LayoutChildren()

Implement for laying out all children when UpdateCollection is called.

PruneEmptyNodes()

Checks for empty nodes and removes them

SortNodes()

Sorts NodeList based on SortType

UpdateCollection()

Rebuilds / updates the collection layout. Update collection is called from the editor button on the inspector.

Applies to

Produkt Versionen
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0