Enhancement: load game scene once to allow run scene directly (#406)

Co-authored-by: StraToN <StraToN@users.noreply.github.com>
This commit is contained in:
Julian Murgia
2021-10-01 07:53:44 +02:00
committed by GitHub
parent df78b52b8a
commit ae34094196
12 changed files with 109 additions and 60 deletions

View File

@@ -82,6 +82,14 @@ var game
The game scene instance
### compiled\_script
```gdscript
var compiled_script: ESCScript
```
Compiled ESCScript
## Method Descriptions
### set\_camera\_limits
@@ -106,4 +114,16 @@ Set the editor debug mode
#### Parameters
- p_editor_debug_mode: The debug mode to set for the room
- p_editor_debug_mode: The debug mode to set for the room
### run\_script\_event
```gdscript
func run_script_event(event_name: String)
```
Runs the script event from the script attached, if any
 #### Parameters
- event_name: the name of the event to run