new build gui select
This commit is contained in:
10
Scripts/button_select_build.gd
Normal file
10
Scripts/button_select_build.gd
Normal file
@@ -0,0 +1,10 @@
|
||||
extends Button
|
||||
|
||||
|
||||
@export var id: int
|
||||
|
||||
|
||||
func _on_pressed() -> void:
|
||||
BuildManager.selected_object_id = id
|
||||
print(BuildManager.selected_object_id)
|
||||
|
||||
Reference in New Issue
Block a user