Fix type-o in `MobileVRInterface` sample code in docs: `xr` -> `use_xr`

This commit is contained in:
David Snopek 2024-07-31 16:36:44 -05:00
parent b6dee96f68
commit 24b7d973fa
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
[codeblock]
var interface = XRServer.find_interface("Native mobile")
if interface and interface.initialize():
get_viewport().xr = true
get_viewport().use_xr = true
[/codeblock]
</description>
<tutorials>