mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Update static_typing.rst
The documentations said it shows the same callback two times, one time with dynamic typing and one time with type hints. In reality, two different callbacks were shown. This has been fixed.
This commit is contained in:
committed by
GitHub
parent
3fc60b40a0
commit
15912feec0
@@ -439,8 +439,7 @@ signal in a dynamic style:
|
||||
And the same callback, with type hints:
|
||||
|
||||
::
|
||||
|
||||
func _on_area_entered(area: CollisionObject2D) -> void:
|
||||
func _on_area_2d_body_entered(body: PhysicsBody2D) -> void:
|
||||
pass
|
||||
|
||||
Warning system
|
||||
|
||||
Reference in New Issue
Block a user