public void OnGripReleased(object sender, ControllerGripArgs e) { if (!handIsIn) { return; } Connect(sender, false, gameObject); Dropped?.Invoke(this); }
public void OnGripPressed(object sender, ControllerGripArgs e) { if (!handIsIn) { return; } Connect(sender, true, gameObject); Grabbed?.Invoke(this); }