Unity Engine documentationScript ReferenceUnityEngineColliderArray2DLengthThe number of Collider2D elements in the collection.阅读时间1 分钟最后更新于 1 个月前Definition Type: Property Namespace: UnityEngine Assembly: UnityEngine.Physics2DModule public readonly int Length { get; }