public void AddP2Pointer(string handTag) { P2Laser.SetActive(true); ControllerVR P2Hand = P2Laser.GetComponent <ControllerVR>(); P2Hand.MyHand = GameObject.FindGameObjectWithTag(handTag); }
public void AssignSelfPointer(string handTag) { P1Laser.SetActive(true); ControllerVR P1Hand = P1Laser.GetComponent <ControllerVR>(); P1Hand.MyHand = GameObject.FindGameObjectWithTag(handTag); }