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 authored and 2nafish117 committed Aug 5, 2024
1 parent 7d4f0bb commit 5402b74
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 5402b74

Please sign in to comment.