Files
fps_project_1/scripts/deposit_money.gd

16 lines
367 B
GDScript

extends StaticBody3D
@onready var amount: Label3D = $Amount
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
func interact():
SignalBus.emit_signal("money_deposited")