This is the testing Godot forums! All forum posts unique to this forum will be deleted! Please use the main forums here for any posts you want to keep. All forum rules still apply.

C# - _on_Area2D_body_entered(Godot.Object body)

eflakeeflake Posts: 9Member

How do i call GetName() ? using the C# mono beta build1

Best Answer

  • eflakeeflake Posts: 9
    Accepted Answer

    GD.Print("body entered = ", ((body as Node2D).GetName()));

Answers

  • eflakeeflake Posts: 9Member
    Accepted Answer

    GD.Print("body entered = ", ((body as Node2D).GetName()));

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.