/// <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());
 }
 internal Enumerator(SerializedMemberViewCollection collection)
 {
     m_Collection = collection;
     m_Index      = -1;
 }
Esempio n. 3
0
 public void Read(SerializedMemberViewCollection collection)
 {
     Read(out var view);
     collection.Add(view.AsMemberView());
 }