Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

Enumerator

struct in Unity.Collections

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

An enumerator over the key-value pairs of a hash map.

In an enumerator's initial state, NativeParallelHashMap<T0,T1>.Current is not valid to read. From this state, the first NativeParallelHashMap<T0,T1>.MoveNext call advances the enumerator to the first key-value pair.

Properties

Property Description
Current The current key-value pair.

Public Methods

Method Description
Dispose Does nothing.
MoveNext Advances the enumerator to the next key-value pair.
Reset Resets the enumerator to its initial state.