diff options
author | David Snopek <dsnopek@gmail.com> | 2024-07-31 16:36:44 -0500 |
---|---|---|
committer | David Snopek <dsnopek@gmail.com> | 2024-07-31 16:36:44 -0500 |
commit | 24b7d973fa1df18af5d2c356e74a92849a0e9863 (patch) | |
tree | 46ef5bb0458fc0c9e4560d716b74f1059935ec10 /modules | |
parent | b6dee96f68d5bd033e080f64f2c18a0dc62f469a (diff) | |
download | redot-engine-24b7d973fa1df18af5d2c356e74a92849a0e9863.tar.gz |
Fix type-o in `MobileVRInterface` sample code in docs: `xr` -> `use_xr`
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mobile_vr/doc_classes/MobileVRInterface.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mobile_vr/doc_classes/MobileVRInterface.xml b/modules/mobile_vr/doc_classes/MobileVRInterface.xml index 0dbe06d220..61d802aea3 100644 --- a/modules/mobile_vr/doc_classes/MobileVRInterface.xml +++ b/modules/mobile_vr/doc_classes/MobileVRInterface.xml @@ -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> |