ドキュメント

Unity Engine

Unity Engine

this[]

An indexer allowing access to any Collider2D in the collection.
読み終わるまでの所要時間 1 分最終更新 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.