Skip to content

Commit 408599e

Browse files
authored
Update setting_up_xr.rst with consistent spelling in code examples (godotengine#8476)
* Update setting_up_xr.rst with consistent spelling in code examples Most instances of the word "initialized" are spelled with a 'z', except for this one. Edited to make the spelling consistent.
1 parent 70c6bca commit 408599e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/xr/setting_up_xr.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Introduction to the XR system in Godot
99
Godot provides a modular XR system that abstracts many of the different XR platform specifics away from the user.
1010
At the core sits the :ref:`XRServer <class_xrserver>` which acts as a central interface to the XR system that allows users to discover interfaces and interact with the components of the XR system.
1111

12-
Each supported XR platform is implemented as an :ref:`XRInterface <class_xrinterface>`. Supported interfaces register themselves with the :ref:`XRServer <class_xrserver>` and can be queried with the ``find_interface`` method on the :ref:`XRServer <class_xrserver>`. When the desired interface is found it can be initialised by calling ``initialize`` on the interface.
12+
Each supported XR platform is implemented as an :ref:`XRInterface <class_xrinterface>`. Supported interfaces register themselves with the :ref:`XRServer <class_xrserver>` and can be queried with the ``find_interface`` method on the :ref:`XRServer <class_xrserver>`. When the desired interface is found it can be initialized by calling ``initialize`` on the interface.
1313

1414
.. warning::
1515
A registered interface means nothing more than that the interface is available, if the interface is not supported by the host system, initialization may fail and return ``false``. This can have many reasons and sadly the reasons differ from platform to platform. It can be because the user hasn't installed the required software, or that the user simply hasn't plugged in their headset. You as a developer must thus react properly on an interface failing to initialize.
@@ -84,7 +84,7 @@ Next we need to add a script to our root node. Add the following code into this
8484
func _ready():
8585
xr_interface = XRServer.find_interface("OpenXR")
8686
if xr_interface and xr_interface.is_initialized():
87-
print("OpenXR initialised successfully")
87+
print("OpenXR initialized successfully")
8888

8989
# Turn off v-sync!
9090
DisplayServer.window_set_vsync_mode(DisplayServer.VSYNC_DISABLED)

0 commit comments

Comments
 (0)