interaction
This commit is contained in:
parent
5e20eeb8bf
commit
d98eb6335f
13 changed files with 145 additions and 24 deletions
|
|
@ -7,8 +7,7 @@ func _ready() -> void:
|
|||
text = reagent.substance.get_formula()
|
||||
|
||||
func _on_button_down() -> void:
|
||||
return
|
||||
var scene = reagent.scene.instantiate()
|
||||
var scene = reagent.storage.instantiate()
|
||||
if scene is DraggableObject:
|
||||
scene.dragged = true
|
||||
scene.mouse_in = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue