added chest and chest spawners but they don't always show up?
This commit is contained in:
14
scripts/target_collision.gd
Normal file
14
scripts/target_collision.gd
Normal file
@@ -0,0 +1,14 @@
|
||||
extends StaticBody3D
|
||||
|
||||
|
||||
# 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 hit(dam):
|
||||
get_parent().hit(dam)
|
||||
Reference in New Issue
Block a user