Added a method to interrupt a running event in ESCEventManager. (#375)
Co-authored-by: StraToN <StraToN@users.noreply.github.com>
This commit is contained in:
@@ -36,6 +36,15 @@ func run() -> var
|
||||
|
||||
Execute this statement and return its return code
|
||||
|
||||
### interrupt
|
||||
|
||||
```gdscript
|
||||
func interrupt()
|
||||
```
|
||||
|
||||
Interrupt the statement in the middle of its execution.
|
||||
|
||||
## Signals
|
||||
|
||||
- signal finished(return_code): Emitted when the event did finish running
|
||||
- signal interrupted(return_code): Emitted when the event was interrupted
|
||||
|
||||
Reference in New Issue
Block a user