Class ColliderExtensions
Inheritance
object
ColliderExtensions
Namespace: TetraCreations.Core
Assembly: cs.temp.dll.dll
Syntax
public static class ColliderExtensions
Methods
ParentColliding(Collider, GameObject)
Determines if the collider set has a trigger is detecting it's parent
Declaration
public static bool ParentColliding(this Collider collider, GameObject gameObject)
Parameters
| Type | Name | Description |
|---|---|---|
| Collider | collider | |
| GameObject | gameObject |
Returns
| Type | Description |
|---|---|
| bool |
SelfOrParentColliding(Collider, GameObject)
Determines if the collider set has a trigger is detecting itself or it's parent
Declaration
public static bool SelfOrParentColliding(this Collider collider, GameObject gameObject)
Parameters
| Type | Name | Description |
|---|---|---|
| Collider | collider | |
| GameObject | gameObject |
Returns
| Type | Description |
|---|---|
| bool |