Method ConvertChildIndexToColliderKey
ConvertChildIndexToColliderKey(int)
Convert child index to collider key.
Declaration
public ColliderKey ConvertChildIndexToColliderKey(int childIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| int | childIndex | Zero-based index of the child. |
Returns
| Type | Description |
|---|---|
| ColliderKey | The child converted index to collider key. If the collider is not a CompoundCollider, returns Empty. |