Edit

Share via


BaseObjectCollection Class

Definition

public ref class BaseObjectCollection abstract : UnityEngine::MonoBehaviour
public abstract class BaseObjectCollection : UnityEngine.MonoBehaviour
type BaseObjectCollection = class
    inherit MonoBehaviour
Public MustInherit Class BaseObjectCollection
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
BaseObjectCollection
Derived

Constructors

BaseObjectCollection()

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)

Check if a node exists in the NodeList.

ContainsNode(Transform, Int32)

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