Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ArrayUtility

Helpers for builtin arrays.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Class
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static class ArrayUtility

Static Methods

Method

Description

AddAppends item to the end of array.
AddRangeAppends items to the end of array.
ArrayEqualsCompares two arrays.
ArrayReferenceEqualsCompares two array references.
ClearClears the array.
ContainsDetermines if the array contains the item.
FindIndexFind the index of the first element that satisfies the predicate.
IndexOfIndex of first element with value value.
InsertInserts item item at position index.
LastIndexOfIndex of the last element with value value.
RemoveRemoves item from array.
RemoveAtRemove element at position index.