Add explosion effect to explosive component and implement cleanup functionality
This commit is contained in:
8
scripts/components/cleanup_component.gd
Normal file
8
scripts/components/cleanup_component.gd
Normal file
@@ -0,0 +1,8 @@
|
||||
class_name CleanUpComponent
|
||||
extends Node
|
||||
|
||||
@export var root: Node
|
||||
|
||||
|
||||
func clean_up() -> void:
|
||||
root.queue_free()
|
Reference in New Issue
Block a user