ArrayReferenceEquals<T>(T[], T[])
Compares two array references.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
ArrayReferenceEquals<T>(`<>[], `<>[])
public static bool ArrayReferenceEquals<T>(T[] lhs, T[] rhs)
Parameters
Returns
Type | Description |
|---|---|
| bool | True if both have the same number of elements and are the same instances. |