10using System.Collections;
11using System.Collections.Generic;
17 [AddComponentMenu(
"")]
29 protected virtual void Start() {
30 _intObj = GetComponent<InteractionBehaviour>();
34 _tool = GetComponentInParent<TransformTool>();
35 if (
_tool ==
null)
Debug.LogError(
"No TransformTool found in a parent GameObject.");
43 private void onGraspBegin() {
49 private void onGraspEnd() {
55 #region Handle Visibility
InteractionBehaviours are components that enable GameObjects to interact with interaction controllers...
Action OnGraspBegin
Called when the object becomes grasped, if it was not already held by any interaction controllers on ...
Rigidbody rigidbody
The Rigidbody associated with this interaction object.
Action OnGraspEnd
Called when the object is no longer grasped by any interaction controllers.