13 lines
209 B
GDScript
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
|