Methods
readSceneFileSync(path) → {string}
Reads a file that was created with writeSceneFileSync
Parameters:
Name | Type | Description |
---|---|---|
path | string | The file path |
- Source
Returns:
- Type:
- string
unlinkSceneFileSync(path)
Deletes a file
Parameters:
Name | Type | Description |
---|---|---|
path | string | The file path |
- Source
writeSceneFileSync(path, content)
Creates and writes to a file that will only be available for this specific scene
Parameters:
Name | Type | Description |
---|---|---|
path | string | The file path |
content | string | The content to write |
- Source