Files
fps_project_1/scripts/enemy_stunned.gd

13 lines
209 B
GDScript

extends EnemyState
class_name EnemyStunned
@export var stunned_stars : Node
func _Enter():
if stunned_stars:
stunned_stars.visible = true
func _Exit():
if stunned_stars:
stunned_stars.visible = false