InsertRangeWithBeginEnd(int, int)
Shifts elements toward the end of this list, increasing its length.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public void InsertRangeWithBeginEnd(int begin, int end)
Parameters
Remarks
Right-shifts elements in the list so as to create 'free' slots at the beginning or in the middle.
The length is increased by .
end - beginIf equals , the method does nothing.
endbeginThe element at index will be copied to index , the element at index will be copied to , and so forth.
beginendbegin + 1end + 1The indexes up to are not cleared: they will contain whatever values they held prior.
beginend