文档

Unity Engine

Unity Engine

FixedString512Bytes.Enumerator

An enumerator over the characters (not bytes) of a FixedString512Bytes.
阅读时间1 分钟最后更新于 1 个月前

Definition

public struct FixedString512Bytes.Enumerator : IEnumerator

Remarks

In an enumerator's initial state, FixedString512Bytes.Enumerator.Current is not valid to read. The first FixedString512Bytes.Enumerator.MoveNext call advances the enumerator's index to the first character.

Constructors

Constructor

Description

Enumerator(Unity.Collections.FixedString512Bytes)Initializes and returns an instance of FixedString512Bytes.Enumerator.

Properties

Property

Description

CurrentThe current character.

Methods

Method

Description

DisposeDoes nothing.
MoveNextAdvances the enumerator to the next character.
ResetResets the enumerator to its initial state.