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