xiandie/script_templates/event_2d.gd

27 lines
355 B
GDScript3
Raw Normal View History

2025-07-02 07:32:37 +00:00
@tool
2025-06-27 14:52:46 +00:00
extends Event2D
# var prev_stage := 0
# var stage := 0
func _ready() -> void:
super._ready()
2025-07-02 07:32:37 +00:00
if Engine.is_editor_hint():
return
2025-06-27 14:52:46 +00:00
func _on_global_stage_updated(e: StringName, s: int):
super._on_global_stage_updated(e, s)
func _on_ground_ready(ground: Ground2D):
pass
func _on_pre_stage_updated():
pass
func _on_stage_updated():
pass