Godot Version
4.3 Stable
Question
I am having trouble creating a C# version of a GDScript project.
Using GDScript, I created a Deadzone that exits the game in case the Player reaches out of bounds.
# Called when the player touches the deadzone
func _on_hitbox_area_entered(area: Area2D) -> void:
get_tree().quit()
This is my Node Tree setup for the Player.
I added a Scene Group for deadzone
I added a Scene Group to Hitbox
titled player
I tried refering to the C# API differences to GDScript but I could not understand any of the comparisons.
Could someone please help me with this?