Method GetChild
GetChild(ref ColliderKey, out ChildCollider)
Gets a child of this collider.
Declaration
public bool GetChild(ref ColliderKey key, out ChildCollider child)
Parameters
| Type | Name | Description |
|---|---|---|
| ColliderKey | key | [in,out] The key that identifies the child. Gets modified by removing the bits associated with the child collider. |
| ChildCollider | child | [out] The child. |
Returns
| Type | Description |
|---|---|
| bool | True if there is a child with the specified key, false otherwise. |