findhapticsoftransform - eisclimber/ExPresS-XR GitHub Wiki

RumbleUtility.FindHapticsOfTransform(Transform)

Method in RumbleUtility

Summary

Finds a HapticImpulsePlayer of the provided Transform respecting HapticImpulsePlayerProxies. To support the use with interactables, the parent of fromTransform will also be searched as fallback.

public static HapticImpulsePlayer FindHapticsOfTransform(Transform fromTransform)

Parameters

Name Description
UnityEngine.Transform fromTransform Transform to search from

Returns

HapticImpulsePlayer found or null.

⚠️ **GitHub.com Fallback** ⚠️