13 lines
236 B
GDScript
13 lines
236 B
GDScript
class_name EventIf extends "res://scripts/Event/Flow/EventGroup.gd"
|
|
|
|
func ifCondition() -> bool:
|
|
return false
|
|
|
|
func shouldAutoStart() -> bool:
|
|
return false
|
|
|
|
func start() -> void:
|
|
super.start()
|
|
|
|
if ifCondition():
|
|
startEventGroup() |