{"_id":"594955b55fd213001ae4afa2","project":"571fa55ca0acd42000af9545","version":{"_id":"594949e52be16d0026ec04cd","project":"571fa55ca0acd42000af9545","__v":2,"createdAt":"2017-06-20T16:14:29.816Z","releaseDate":"2017-06-20T16:14:29.816Z","categories":["594949e62be16d0026ec04ce","594949e62be16d0026ec04cf","594949e62be16d0026ec04d0","594949e62be16d0026ec04d1","594949e62be16d0026ec04d2","594949e62be16d0026ec04d3","594949e62be16d0026ec04d4","594949e62be16d0026ec04d5","594949e62be16d0026ec04d6","594949e62be16d0026ec04d7","594949e62be16d0026ec04d8","594949e62be16d0026ec04d9","594949e62be16d0026ec04da","594949e62be16d0026ec04db","594949e62be16d0026ec04dc","594949e62be16d0026ec04dd","594949e62be16d0026ec04de","594949e62be16d0026ec04df","594949e62be16d0026ec04e0","594949e62be16d0026ec04e1","59497219f4a8980024dd0631"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"Kunekune","version_clean":"3.2.0","version":"3.2.0"},"category":{"_id":"594949e62be16d0026ec04d4","version":"594949e52be16d0026ec04cd","project":"571fa55ca0acd42000af9545","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-01-01T16:45:52.489Z","from_sync":false,"order":6,"slug":"interactions","title":"Interactions"},"user":"571fa519db52d01700f5cf3d","__v":0,"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2017-06-20T17:04:53.903Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":12,"body":"## Overview\n\nThe Object Touch Auto Interact script allows grab or use interactions on an object to automatically happen upon touching the interactable object.\n\n## Inspector Parameters\n\n * **Grab On Touch When:** Determines when a grab on touch should occur.\n * **Regrab Delay:** After being ungrabbed, another auto grab on touch can only occur after this time.\n * **Continuous Grab Check:** If this is checked then the grab on touch check will happen every frame and not only on the first touch of the object.\n * **Use On Touch When:** Determines when a use on touch should occur.\n * **Reuse Delay:** After being unused, another auto use on touch can only occur after this time.\n * **Continuous Use Check:** If this is checked then the use on touch check will happen every frame and not only on the first touch of the object.\n * **Interactable Object:** The interactable object that the auto interaction will occur on. If this is blank then the script must be on the same GameObject as the Interactable Object script.\n\n## Class Variables\n\n * `public enum AutoInteractions` - Situation when auto interaction can occur.\n  * `Never` - Auto interaction can never occur on touch.\n  * `NoButtonHeld` - Auto interaction will occur on touch even if the specified interaction button is not held down.\n  * `ButtonHeld` - Auto interaction will only occur on touch if the specified interaction button is held down.","excerpt":"","slug":"vrtk_objecttouchautointeract","type":"basic","title":"VRTK_ObjectTouchAutoInteract"}

VRTK_ObjectTouchAutoInteract


## Overview The Object Touch Auto Interact script allows grab or use interactions on an object to automatically happen upon touching the interactable object. ## Inspector Parameters * **Grab On Touch When:** Determines when a grab on touch should occur. * **Regrab Delay:** After being ungrabbed, another auto grab on touch can only occur after this time. * **Continuous Grab Check:** If this is checked then the grab on touch check will happen every frame and not only on the first touch of the object. * **Use On Touch When:** Determines when a use on touch should occur. * **Reuse Delay:** After being unused, another auto use on touch can only occur after this time. * **Continuous Use Check:** If this is checked then the use on touch check will happen every frame and not only on the first touch of the object. * **Interactable Object:** The interactable object that the auto interaction will occur on. If this is blank then the script must be on the same GameObject as the Interactable Object script. ## Class Variables * `public enum AutoInteractions` - Situation when auto interaction can occur. * `Never` - Auto interaction can never occur on touch. * `NoButtonHeld` - Auto interaction will occur on touch even if the specified interaction button is not held down. * `ButtonHeld` - Auto interaction will only occur on touch if the specified interaction button is held down.