Exemplo n.º 1
0
 private void SwitchToNewInteractable(BaseInteractable foundBaseInteractable)
 {
     if (_currentBaseInteractable != null)
     {
         _currentBaseInteractable.HightlightAsInteractable(false);
     }
     _currentBaseInteractable = foundBaseInteractable;
     if (_currentBaseInteractable != null)
     {
         _currentBaseInteractable.HightlightAsInteractable(true);
     }
 }