public void Grab(GrabManager grabManager) { if (ActiveGrabber != null) { ActiveGrabber.LostControlOfGrabbable(this); } ActiveGrabber = grabManager; onGrabbed.Invoke(); }
public void GrabberLostControl() { onGrabberLostControl?.Invoke(); ActiveGrabber = null; }
public void LetGo() { onLetGo.Invoke(); ActiveGrabber = null; }