| InteractableEngageableDetectionFindEngageableObject Method (Transform, Single, Single) |
Gets the closest engageable object to a transform
Namespace:
ImmerseSDK.Interaction
Assembly:
ImmerseSDK.App (in ImmerseSDK.App.dll) Version: 3.9.0.0 (3.9.0.0)
Syntax Parameters
- target
- Type: UnityEngine.Transform
Target transform - maxDistance
- Type: SystemSingle
Maximum distance to search - distance
- Type: SystemSingle
The distance to the object returned (if applicable)
Return Value
Type:
IEngageableObjectReturns the closet EngageableObject to the input transform
See Also