예제 #1
0
 public void OnEvent(Events.ClearDisplayEvent e)
 {
     GetComponent <AnimateThis>().Transformate()
     .ToScale(new Vector3(1.2f, 0, 1.2f))
     .Duration(0.25f)
     .OnEnd(DestroyMe)
     .Start();
 }
 public void OnEvent(Events.ClearDisplayEvent e)
 {
     //VRTK_DeviceFinder.GetControllerRightHand().GetComponent<VRTK_ControllerActions>().ToggleHighlightTouchpad(false);
     if (currentSelectionObject != null)
     {
         Destroy(currentSelectionObject);
         currentSelectionObject = null;
     }
 }