예제 #1
0
 public virtual void OnValueChanged(Control3DEventArgs e)
 {
     if (ValueChanged != null)
     {
         ValueChanged(this, e);
     }
 }
예제 #2
0
 public virtual void OnReleased(Control3DEventArgs e)
 {
     if (Released != null)
     {
         Released(this, e);
     }
 }
예제 #3
0
 public virtual void OnPushed(Control3DEventArgs e)
 {
     if (Pushed != null)
     {
         Pushed(this, e);
     }
 }
예제 #4
0
 private void HandleChange(object sender, Control3DEventArgs e)
 {
     if (e.normalizedValue <= 50)
     {
         disarm = false;
     }
     else if (e.normalizedValue >= 50)
     {
         disarm = true;
     }
 }
예제 #5
0
    private void handlePush(object sender, VRTK.Control3DEventArgs e)
    {
        Debug.Log("Pushed");

        animFunct.ResetAnim();
    }