private void OnClick(object sender, Valve.VR.Extras.PointerEventArgs e) { if (e.target == transform && transform.tag == "Click") { clone.SetActive(false); } }
protected void OnPoint(object sender, Valve.VR.Extras.PointerEventArgs e) { if (e.target == transform && transform.tag == "Hover") { clone.SetActive(false); } }