Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TransformHandle.SubhierarchyEnumerator

An enumerator that iterates over a TransformHandle instance and all of its descendants. The TransformHandle instance itself is yielded first, followed by its descendants in depth-first order.
Read time 1 minuteLast updated 6 days ago

Definition

public struct TransformHandle.SubhierarchyEnumerator : IEnumerator<TransformHandle>, IEnumerator, IDisposable

Properties

Property

Description

CurrentThe TransformHandle instance at the current position of the enumerator.

Methods

Method

Description

DisposeDisposes the enumerator.
MoveNextMoves the enumerator to the next transform handle.