Skip to content

Commit

Permalink
Merge pull request #94994 from dsnopek/mobilevr-interface-docs-use-xr
Browse files Browse the repository at this point in the history
Fix type-o in `MobileVRInterface` sample code in docs: `xr` -> `use_xr`
  • Loading branch information
akien-mga committed Jul 31, 2024
2 parents e503566 + 24b7d97 commit 3978628
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 3978628

Please sign in to comment.