mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 16:28:59 +00:00
Merge pull request #11066 from NeonMika/patch-1
Update static_typing.rst
This commit is contained in:
@@ -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