GetEnumerator()
Gets an enumerator that iterates over the name and value of each channel, in the order of the set.
Read time 1 minuteLast updated a day ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public AnimatableFloatChannels.Enumerator GetEnumerator()
Returns
Type | Description |
|---|---|
| Enumerator | An enumerator of channel name and value pairs. |
Remarks
Use or LINQ to read all channels without looking each one up by name. Iterating with doesn't allocate memory.
foreachforeach