internal Enumerator(SerializedMemberViewCollection collection)
 {
     m_Collection = collection;
     m_Index      = -1;
 }
Пример #2
0
 /// <summary>
 /// Reads the next node as a member, respecting depth/scope and adds it to the given <see cref="SerializedMemberViewCollection"/>.
 /// </summary>
 /// <param name="collection">The collection to add the member to.</param>
 public void ReadMember(SerializedMemberViewCollection collection)
 {
     collection.Add(ReadMember());
 }