Documentation

Unity Engine

Unity Engine

ArrayReferenceEquals<T>(T[], T[])

Compares two array references.
Read time 1 minuteLast updated a month ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

ArrayReferenceEquals<T>(`<>[], `<>[])

public static bool ArrayReferenceEquals<T>(T[] lhs, T[] rhs)

Parameters

Returns

Type

Description

boolTrue if both have the same number of elements and are the same instances.