Skip to content

Commit

Permalink
Fix type-o in MobileVRInterface sample code in docs: xr -> use_xr
Browse files Browse the repository at this point in the history
  • Loading branch information
dsnopek committed Jul 31, 2024
1 parent b6dee96 commit 24b7d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mobile_vr/doc_classes/MobileVRInterface.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 24b7d97

Please sign in to comment.