15 lines
348 B
GDScript3
15 lines
348 B
GDScript3
|
class_name GDActionRemove extends GDActionInstant
|
||
|
|
||
|
|
||
|
func _init(gd_utils: Node).(gd_utils):
|
||
|
pass
|
||
|
|
||
|
|
||
|
func _create_action_node(key: String, node):
|
||
|
return GDActionNodeRemove.new(self, key, node)
|
||
|
|
||
|
|
||
|
func _run_action(action_node: GDActionNode, delay: float, speed: float):
|
||
|
._run_action(action_node, delay, speed)
|
||
|
action_node.remove_node(delay, speed)
|