public virtual void OnValueChanged(Control3DEventArgs e) { if (ValueChanged != null) { ValueChanged(this, e); } }
public virtual void OnReleased(Control3DEventArgs e) { if (Released != null) { Released(this, e); } }
public virtual void OnPushed(Control3DEventArgs e) { if (Pushed != null) { Pushed(this, e); } }
private void HandleChange(object sender, Control3DEventArgs e) { if (e.normalizedValue <= 50) { disarm = false; } else if (e.normalizedValue >= 50) { disarm = true; } }
private void handlePush(object sender, VRTK.Control3DEventArgs e) { Debug.Log("Pushed"); animFunct.ResetAnim(); }