mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
Merge pull request #74731 from brettchalupa/patch-1
Fix CharacterBody2D get_slide_collision docs
This commit is contained in:
commit
d9bd6a359a
@ -73,8 +73,8 @@
|
||||
[codeblocks]
|
||||
[gdscript]
|
||||
for i in get_slide_collision_count():
|
||||
var collision = get_slide_collision(i)
|
||||
print("Collided with: ", collision.collider.name)
|
||||
var collision = get_slide_collision(i)
|
||||
print("Collided with: ", collision.get_collider().name)
|
||||
[/gdscript]
|
||||
[csharp]
|
||||
for (int i = 0; i < GetSlideCollisionCount(); i++)
|
||||
|
Loading…
Reference in New Issue
Block a user