update buildmanager
This commit is contained in:
@@ -3,8 +3,12 @@ extends Button
|
||||
|
||||
@export var id: int
|
||||
|
||||
func _ready() -> void:
|
||||
pass
|
||||
|
||||
|
||||
func _on_pressed() -> void:
|
||||
BuildManager.selected_object_id = id
|
||||
BuildManager.build_object_selected.emit()
|
||||
print(BuildManager.selected_object_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user