waited far too long for an initial commit but here we are
This commit is contained in:
10
Scripts/interact_button.gd
Normal file
10
Scripts/interact_button.gd
Normal file
@ -0,0 +1,10 @@
|
||||
extends StaticBody3D
|
||||
class_name InteractButton
|
||||
|
||||
signal button_interacted(value)
|
||||
|
||||
@export var button_press_value := 0
|
||||
@export var press_cost := 0
|
||||
|
||||
func press():
|
||||
button_interacted.emit(button_press_value)
|
Reference in New Issue
Block a user