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