예제 #1
0
 private Vector3 ComputeSurfacePosition(Vector3 point, PokeInteractable interactable)
 {
     return(interactable.ClosestSurfacePoint(point));
 }
예제 #2
0
 private void HandleUnlock(PokeInteractable pokeInteractable)
 {
     _syntheticHand.FreeWrist();
     _isTouching = false;
 }
예제 #3
0
 public void InjectPokeInteractable(PokeInteractable pokeInteractable)
 {
     _pokeInteractable = pokeInteractable;
 }
예제 #4
0
 private void HandleLock(PokeInteractable pokeInteractable)
 {
     _isTouching        = true;
     _initialTouchPoint = _pokeInteractor.TouchPoint;
 }
예제 #5
0
 public void InjectAllPokeInteractableVisual(PokeInteractable pokeInteractable,
                                             Transform buttonBaseTransform)
 {
     InjectPokeInteractable(pokeInteractable);
     InjectButtonBaseTransform(buttonBaseTransform);
 }