Folder:Documentation Index
Fetch the complete documentation index at: https://docs-unity.molca.id/llms.txt
Use this file to discover all available pages before exploring further.
Assets/_MolcaSDK/Code/Scripts/Utilities/
Examples: InputHelper, QRScanner, ProximityTrigger, TransformHelper, RectTransformHelper, DelayedEvent, various toggles and counters.
Boundary
Keep utilities XR-agnostic when possible; VR-specific logic belongs under_VR/Scripts.
Code
Most helpers are static methods or smallMonoBehaviour components you drop on a GameObject and configure in the Inspector. Example pattern:
ProximityTrigger, QRScanner) for real events and inspector fields.
Troubleshooting
- ProximityTrigger never fires — Layer /
Physicsmatrix: verify colliders on target andTriggerflag; distance-based checks needUpdateor rigidbody motion as designed in script. - QRScanner no result — Camera permission on device, sufficient light, and WebCamTexture availability in Editor (often limited); read console for platform-specific errors.
- TransformHelper / RectTransformHelper odd values — Parent RectTransform anchors and canvas scale affect “local” helpers; reset anchors before calling alignment helpers.
- DelayedEvent double fire — Re-enable / duplicate
MonoBehaviourinstances can schedule twice; cancel or guard with aboolinOnDisable. - InputHelper (if present) not reading — New Input System vs legacy: ensure the active input configuration matches what the helper expects.
Related
- VR player manager — when utilities must align with XR rig transforms
Unity Editor
