We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
MacOS 15, develop enviroment
hex_grid.gd
class_name HexGrid extends Node2D # the hex_grid.tscn used this GDScript const HEX_GRID = preload("res://scene/hex_grid.tscn")
test.gd
class_name Module extends Node2D # the $HexGrid is hex_grid.tscn @onready var hex_grid: HexGrid = $HexGrid
the Editor report: Trying to assign value of type 'Node2D' to a variable of type 'hex_grid.gd'
as reported above
NA
The text was updated successfully, but these errors were encountered:
Please provide a minimal reproduction project which includes the scene (res://scene/hex_grid.tscn).
res://scene/hex_grid.tscn
Sorry, something went wrong.
here its. This bug is more complicated than I thought. It may be related to the loading of the global singleton typebugreport.zip
Please run game.tscn
No branches or pull requests
Tested versions
System information
MacOS 15, develop enviroment
Issue description
hex_grid.gd
test.gd
the Editor report: Trying to assign value of type 'Node2D' to a variable of type 'hex_grid.gd'
Steps to reproduce
as reported above
Minimal reproduction project (MRP)
NA
The text was updated successfully, but these errors were encountered: