Method GetLeaf
GetLeaf(ColliderKey, out ChildCollider)
Gets a leaf collider.
Declaration
public bool GetLeaf(ColliderKey key, out ChildCollider leaf)
Parameters
| Type | Name | Description |
|---|---|---|
| ColliderKey | key | The key representing the leaf collider. |
| ChildCollider | leaf | [out] The leaf. |
Returns
| Type | Description |
|---|---|
| bool | True if a leaf with the specified key exists, otherwise false. |