I'm following this tutorial
I'm trying to follow this tutorial which uses GDScript but in C#.
In the final section
# The player get to the next point
position = path
# Update the distance to walk
distance_to_walk -= distance_to_next_point
That "path.remove(0)" I can't seem to find in C#, it seems arrays are more limited in C# or I'm I doing something wrong. I have also tried to define my vector2 array as like
"Godot.Collections.Array< Vector2 > path " to access addtional methods such as remove, clear and such but that gives me conversion errors "Can't convert between Godot Collections and Vector2D etc." In other code.
But if I define a variable like 'Vector2 path' , it doesnt have the extra useful methods like remove, clear and such. Am I missing something?
PS: Path is a Vector2D object.