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]
632
632
}
633
633
634
634
/// <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
637
636
/// elements of this <see cref="NetworkList{T}"/>.
638
637
/// </summary>
639
638
/// <remarks>
640
639
/// 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.
644
643
/// </remarks>
645
644
/// <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.
648
646
/// </returns>
649
647
public NativeArray < T > . ReadOnly AsNativeArray ( )
650
648
{
You can’t perform that action at this time.
0 commit comments