ドキュメント

Unity Engine

Download Unity

Unity Engine

GetEnumerator()

Gets an enumerator that iterates over the name and value of each channel, in the order of the set.
読み終わるまでの所要時間 1 分最終更新 20日前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public AnimatableFloatChannels.Enumerator GetEnumerator()

Returns

Type

Description

EnumeratorAn enumerator of channel name and value pairs.

Remarks

Use
foreach
or LINQ to read all channels without looking each one up by name. Iterating with
foreach
doesn't allocate memory.