... | ... | @@ -286,7 +286,7 @@ if (hitTestResults.length > 0 && reticle) { |
|
|
```
|
|
|
|
|
|
## Adding interactions on tap
|
|
|
**XRSession **receives select events when the user completes a primary action. In an AR session, this corresponds to a tap on the screen.
|
|
|
**XRSession** receives select events when the user completes a primary action. In an AR session, this corresponds to a tap on the screen.
|
|
|
|
|
|
Make a new sunflower appear when the user taps on the screen by adding this code during initialization:
|
|
|
|
... | ... | |