AI has better detection, committing before a larger rework
This commit is contained in:
7
scripts/respawn_enemies_button.gd
Normal file
7
scripts/respawn_enemies_button.gd
Normal file
@@ -0,0 +1,7 @@
|
||||
extends Node3D
|
||||
|
||||
|
||||
func _on_switch_1_switch_changed() -> void:
|
||||
var parent = get_parent()
|
||||
parent.number_of_enemies = 1
|
||||
parent.spawn_enemies()
|
||||
Reference in New Issue
Block a user