mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Snake-case .tscn, .gd and _on_* callbacks
Co-authored-by: Doug Thompson <s-git@dougthompson.co.uk>
This commit is contained in:
@@ -98,7 +98,7 @@ enemies that the player was spotted.
|
||||
.. tabs::
|
||||
.. code-tab:: gdscript GDScript
|
||||
|
||||
func _on_Player_spotted():
|
||||
func _on_player_spotted():
|
||||
get_tree().call_group("guards", "enter_alert_mode")
|
||||
|
||||
.. code-tab:: csharp
|
||||
|
||||
Reference in New Issue
Block a user