![]() | ColliderExtensions Class |
Namespace: ImmerseSDK.Extensions
public static class ColliderExtensions
The ColliderExtensions type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | GetComponentFromColliderOrAnyParentT |
Gets the named component from the collider's gameobject or any parent of the collider.
Uses GetComponentInParentRecursive internally, so calling this many times per frame can have a performance impact.
|
![]() ![]() | GetLocalControllerFromCollider |
Gets the local controller associated with the given collider.
|