Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AStar2D/3D C# Code Should Use long[] Instead Of int[] #9806

Closed
ItzCog opened this issue Aug 22, 2024 · 0 comments · Fixed by godotengine/godot#95956
Closed

AStar2D/3D C# Code Should Use long[] Instead Of int[] #9806

ItzCog opened this issue Aug 22, 2024 · 0 comments · Fixed by godotengine/godot#95956
Labels

Comments

@ItzCog
Copy link

ItzCog commented Aug 22, 2024

Your Godot version:
4.3

Issue description:
For the C# example code under get_id_path() and get_point_connections(), the variable used to store the return value should use type long[] instead as C# int does not fit 64 bits and the code will not compile.

URL to the documentation page:
https://docs.godotengine.org/en/stable/classes/class_astar2d.html#class-astar2d-method-get-id-path
https://docs.godotengine.org/en/stable/classes/class_astar2d.html#class-astar2d-method-get-point-connections
https://docs.godotengine.org/en/stable/classes/class_astar3d.html#class-astar3d-method-get-id-path
https://docs.godotengine.org/en/stable/classes/class_astar3d.html#class-astar3d-method-get-point-connections

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant