File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
com.unity.netcode.gameobjects/Runtime/NetworkVariable/Collections Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -632,19 +632,17 @@ public T this[int index]
632632 }
633633
634634 /// <summary>
635- /// Gets a **zero‑allocation**, read‑only
636- /// <see cref="Unity.Collections.NativeArray{T}.ReadOnly"/> view over the current
635+ /// Gets a **zero‑allocation**, <see cref="NativeArray{T}.ReadOnly"/> view over the current
637636 /// elements of this <see cref="NetworkList{T}"/>.
638637 /// </summary>
639638 /// <remarks>
640639 /// The returned array stays valid **only until** the list is mutated (add, remove,
641- /// clear, resize) or the container is <see cref="Dispose()"/>d . Continuing to use
642- /// it afterwards results in undefined behaviour; callers are responsible for
643- /// ensuring a safe lifetime.
640+ /// clear, resize) or <see cref="Dispose()"/> is called on the container . Continuing to use
641+ /// the array after it is invalid will result in undefined behaviour;
642+ /// callers are responsible for ensuring a safe lifetime.
644643 /// </remarks>
645644 /// <returns>
646- /// A read‑only <see cref="Unity.Collections.NativeArray{T}.ReadOnly"/> that shares
647- /// the same backing memory as this list.
645+ /// A <see cref="NativeArray{T}.ReadOnly"/> reference that shares the same backing memory as this list.
648646 /// </returns>
649647 public NativeArray < T > . ReadOnly AsNativeArray ( )
650648 {
You can’t perform that action at this time.
0 commit comments