void Start() { trackedControllerBase = GetComponentInParent <TrackedControllerBase>(); trackedControllerBase.RegisterTriggerListener(this); isGrabbed = false; isHighlighted = false; }
void Start() { trackedControllerBase = GetComponentInParent <TrackedControllerBase>(); trackedControllerBase.RegisterTrackpadListener(this); grabController = GetComponent <GrabController>(); head = GameObject.Find("Camera (eye)"); }