ESCScheduledEvent

Extends: Object

Description

An event that is scheduled to run later

Property Descriptions

event

var event: ESCEvent

Event to run when timeout is reached

timeout

var timeout: float

The number of seconds until the event is run

Method Descriptions

_init

func _init(p_event: ESCEvent, p_timeout: float)

Create a new scheduled event

run

func run() -> int

Run the event

Returns The execution code