기술 자료

Unity Engine

Unity Engine

this[]

An indexer allowing access to any Collider2D in the collection.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule

this[int]

public readonly Collider2D this[int index] { get; }

Parameters

index

Returns

Type

Description

Collider2D

Remarks

This must be in the range of 0 to ColliderArray2D.Length-1.