文档

Unity Engine

Unity Engine

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

Compares two array references.
阅读时间1 分钟最后更新于 1 个月前

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.