Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Fishfriends |
My script is broken. Everytime I run the code it states: “Identifier expected”. This is odd because it’s not a variable, it’s an object and I juts don’t know what to do. I’m also using area2d with a signal function. Here’s my code:
using Godot;
using System;
public partial class dolahCollection : Area2D
{
public override void _Ready()
{
}
public override void _Process(double delta)
{
}
private void _on_body_entered(body) {
QueueFree();
}
}