summaryrefslogtreecommitdiff
path: root/modules/webxr
diff options
context:
space:
mode:
authorDoug Thompson <s-git@dougthompson.co.uk>2023-01-15 13:26:21 +0000
committerDoug Thompson <s-git@dougthompson.co.uk>2023-01-15 13:26:29 +0000
commita4c734ed32c1714b32aef6c56a06504778469c9e (patch)
treef3afe9f500b5b0a6a05c1d466fb33c98a9a6df11 /modules/webxr
parent9711abe78773426644b640d6052273203931555e (diff)
Class reference: snake_case .gd filenames, _on_*
This is for: https://github.com/godotengine/godot-docs/issues/6245
Diffstat (limited to 'modules/webxr')
-rw-r--r--modules/webxr/doc_classes/WebXRInterface.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/webxr/doc_classes/WebXRInterface.xml b/modules/webxr/doc_classes/WebXRInterface.xml
index f5964eb4d1..ba1750386f 100644
--- a/modules/webxr/doc_classes/WebXRInterface.xml
+++ b/modules/webxr/doc_classes/WebXRInterface.xml
@@ -18,7 +18,7 @@
func _ready():
# We assume this node has a button as a child.
# This button is for the user to consent to entering immersive VR mode.
- $Button.pressed.connect(self._on_Button_pressed)
+ $Button.pressed.connect(self._on_button_pressed)
webxr_interface = XRServer.find_interface("WebXR")
if webxr_interface:
@@ -38,7 +38,7 @@
if session_mode == 'immersive-vr':
vr_supported = supported
- func _on_Button_pressed():
+ func _on_button_pressed():
if not vr_supported:
OS.alert("Your browser doesn't support VR")
return