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:
@@ -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
|
||||
@@ -202,6 +202,14 @@ var controller: ESCController
|
||||
The controller in charge of converting an action verb on a game object
|
||||
into an actual action
|
||||
|
||||
### game\_scene
|
||||
|
||||
```gdscript
|
||||
var game_scene: ESCGame
|
||||
```
|
||||
|
||||
The game scene loaded
|
||||
|
||||
## Method Descriptions
|
||||
|
||||
### new\_game
|
||||
|
||||
Reference in New Issue
Block a user