mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 11:32:13 +00:00
Fix type-o in MobileVRInterface
sample code in docs: xr
-> use_xr
This commit is contained in:
parent
b6dee96f68
commit
24b7d973fa
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user